Skip to content

Commit 57719ed

Browse files
committed
Fix map events are invoked twice on the same frame when you touch it a long time
1 parent 76fdfef commit 57719ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/rpg_scenes/Scene_Map.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Scene_Map.prototype.update = function() {
6868
Scene_Map.prototype.updateMainMultiply = function() {
6969
this.updateMain();
7070
if (this.isFastForward()) {
71+
if (!this.isMapTouchOk()) {
72+
this.updateDestination();
73+
}
7174
this.updateMain();
7275
}
7376
};

0 commit comments

Comments
 (0)