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.
1 parent 3b2e2de commit 9875c94Copy full SHA for 9875c94
js/rpg_managers/DataManager.js
@@ -217,6 +217,7 @@ DataManager.setupNewGame = function() {
217
$gamePlayer.reserveTransfer($dataSystem.startMapId,
218
$dataSystem.startX, $dataSystem.startY);
219
Graphics.frameCount = 0;
220
+ SceneManager.resetFrameCount();
221
};
222
223
DataManager.setupBattleTest = function() {
js/rpg_managers/SceneManager.js
@@ -139,6 +139,10 @@ SceneManager.setFrameCount = function(frameCount) {
139
this._frameCount = frameCount;
140
141
142
+SceneManager.resetFrameCount = function() {
143
+ this._frameCount = 0;
144
+};
145
+
146
SceneManager.requestUpdate = function() {
147
if (!this._stopped) {
148
requestAnimationFrame(this.update.bind(this));
0 commit comments