rpgtkoolmv / corescript

http://www.rpgmakerweb.com/products/programs/rpg-maker-mv
MIT License
311 stars 75 forks source link

Fix rendering stopped when changed user agent mobile safari to another. #190

Closed krmbn0576 closed 5 years ago

krmbn0576 commented 5 years ago

If you first start the game with the mobile safari user agent and later change it to another user agent, the rendering stops and the game hangs up.

The cause is that this._accumulator would be NaN because this._currentTime is undefined.

Fixed!