Closed krmbn0576 closed 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.
this._accumulator
NaN
this._currentTime
undefined
Fixed!
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 beNaN
becausethis._currentTime
isundefined
.Fixed!