fix(game): determine adding `event.step` when `event.step` is a number.

This commit is contained in:
Ansolve 2023-11-16 18:21:02 +08:00
parent c6c077b011
commit 36b46f6371
No known key found for this signature in database
GPG Key ID: 2F2873AC9538CC2D
1 changed files with 1 additions and 1 deletions

View File

@ -41293,7 +41293,7 @@
event.callHandler(event.getDefaultHandlerType(),event,{ event.callHandler(event.getDefaultHandlerType(),event,{
state:'end' state:'end'
}); });
event.step++; if(typeof event.step=="number") ++event.step;
} }
} }
} }