Oops
This commit is contained in:
@@ -171,7 +171,7 @@ class MusicBeatState extends FlxState implements IBeatReceiver
|
||||
// calls the function on the assigned script
|
||||
if(stateScripts != null)
|
||||
return stateScripts.call(name, args);
|
||||
return null;
|
||||
return defaultVal;
|
||||
}
|
||||
|
||||
public function event<T:CancellableEvent>(name:String, event:T):T {
|
||||
|
||||
@@ -161,7 +161,7 @@ class MusicBeatSubstate extends FlxSubState implements IBeatReceiver
|
||||
// calls the function on the assigned script
|
||||
if(stateScripts != null)
|
||||
return stateScripts.call(name, args);
|
||||
return null;
|
||||
return defaultVal;
|
||||
}
|
||||
|
||||
public function event<T:CancellableEvent>(name:String, event:T):T {
|
||||
|
||||
Reference in New Issue
Block a user