modulecmd: bugfix in module-addgroup()

Type of overlay is now stored with key 'overlay_name:type'.
The old method was still used.
This commit is contained in:
2022-06-09 12:03:54 +02:00
parent 38cd9b1583
commit 3c434c48f7
+2 -1
View File
@@ -81,7 +81,8 @@ proc module-addgroup { group } {
set overlays_to_add {}
foreach overlay $::UsedOverlays {
lappend overlays_to_add $overlay
set ol_type [lindex [split $::OverlayInfo($overlay) ":"] 0]
set ol_type $::OverlayInfo($overlay:type)
debug "ol_type=$ol_type"
if { [string compare $ol_type $::ol_replacing] == 0 } {
break
}