diff --git a/Pmodules/libmodules.tcl b/Pmodules/libmodules.tcl index 756f5c1..58e266d 100644 --- a/Pmodules/libmodules.tcl +++ b/Pmodules/libmodules.tcl @@ -71,7 +71,7 @@ proc module-addgroup { group } { foreach overlay $::OverlayList { lappend overlays_to_add $overlay debug $overlay - if { [string compare $::OverlayDict($overlay) $ol_replacing=] == 0 } { + if { [string compare $::OverlayDict($overlay) $::ol_replacing] == 0 } { break } }