Skip to content

Commit 3d02c37

Browse files
authored
Merge pull request rpgtkoolmv#185 from rpgtkoolmv/fix_duplicate_invoke
Fix map events are invoked twice on the same frame when you touch them a long time
2 parents 24d17c7 + 57719ed commit 3d02c37

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)