We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2492297 + 638e45b commit 483ac0cCopy full SHA for 483ac0c
js/rpg_managers/SceneManager.js
@@ -228,8 +228,9 @@ SceneManager.updateMain = function() {
228
this.updateScene();
229
} else {
230
var newTime = this._getTimeInMsWithoutMobileSafari();
231
+ if (this._currentTime === undefined) { this._currentTime = newTime; }
232
var fTime = (newTime - this._currentTime) / 1000;
- if (fTime > 0.25) fTime = 0.25;
233
+ if (fTime > 0.25) { fTime = 0.25; }
234
this._currentTime = newTime;
235
this._accumulator += fTime;
236
while (this._accumulator >= this._deltaTime) {
0 commit comments