Skip to content

Commit

Permalink
forgoy a change
Browse files Browse the repository at this point in the history
Use namespace also in egg_load
  • Loading branch information
crazycatdevs authored Jul 13, 2023
1 parent e4a3fc6 commit 43d6e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/autoscripts.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ proc egg_load {idx script loadme} {
if {$loadme} {
if {[dict exists $scriptentry config vars]} {
foreach configvar [dict keys [dict get $scriptentry config vars] *] {
uplevel #0 [list set $configvar [dict get $scriptentry config vars $configvar value]]
set ::[dict get $scriptentry name]::$configvar [dict get $scriptentry config vars $configvar value]
}
}
if {[catch {uplevel #0 source $eggdir/${script}/${script}.tcl} err]} {
Expand Down

0 comments on commit 43d6e70

Please sign in to comment.