mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +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)){
|
||||
if(typeof $SM.get(stateName)[i] == 'object'){
|
||||
$SM.removeBranch(stateName +'["'+ i +'"]');
|
||||
|
||||
Reference in New Issue
Block a user