From 57719eddda210b06c243d522fb27c98d8279566a Mon Sep 17 00:00:00 2001 From: krmbn0576 Date: Sun, 2 Sep 2018 18:26:12 +0900 Subject: [PATCH] Fix map events are invoked twice on the same frame when you touch it a long time --- js/rpg_scenes/Scene_Map.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/rpg_scenes/Scene_Map.js b/js/rpg_scenes/Scene_Map.js index 7bb984cd..4872edd0 100644 --- a/js/rpg_scenes/Scene_Map.js +++ b/js/rpg_scenes/Scene_Map.js @@ -68,6 +68,9 @@ Scene_Map.prototype.update = function() { Scene_Map.prototype.updateMainMultiply = function() { this.updateMain(); if (this.isFastForward()) { + if (!this.isMapTouchOk()) { + this.updateDestination(); + } this.updateMain(); } };