mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-09 05:57:13 +08:00
Fix removeBranch function definition
This commit is contained in:
@@ -194,7 +194,7 @@ var StateManager = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
removeBranch(stateName, noEvent) {
|
removeBranch: function(stateName, noEvent) {
|
||||||
for(var i in $SM.get(stateName)){
|
for(var i in $SM.get(stateName)){
|
||||||
if(typeof $SM.get(stateName)[i] == 'object'){
|
if(typeof $SM.get(stateName)[i] == 'object'){
|
||||||
$SM.removeBranch(stateName +'["'+ i +'"]');
|
$SM.removeBranch(stateName +'["'+ i +'"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user