mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
defensing timer recall
This commit is contained in:
+1
-1
@@ -1453,7 +1453,7 @@ var Events = {
|
|||||||
if(typeof(state[i]) == 'object'){
|
if(typeof(state[i]) == 'object'){
|
||||||
Events.recallDelay(stateName +'["'+ i +'"]', target[i]);
|
Events.recallDelay(stateName +'["'+ i +'"]', target[i]);
|
||||||
} else {
|
} else {
|
||||||
if(typeof target[i] == 'function'){
|
if(target && typeof target[i] == 'function'){
|
||||||
target[i]();
|
target[i]();
|
||||||
} else {
|
} else {
|
||||||
$SM.remove(stateName);
|
$SM.remove(stateName);
|
||||||
|
|||||||
Reference in New Issue
Block a user