From a1ddca606c6a11edc2a905249038aa568188eef2 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Mon, 6 Sep 2021 17:00:57 +0800 Subject: [PATCH] Fix doAction when setValue lose --- libs/events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/events.js b/libs/events.js index 70f01d15..de8a0dce 100644 --- a/libs/events.js +++ b/libs/events.js @@ -1877,6 +1877,7 @@ events.prototype._action_setValue = function (data, x, y, prefix) { core.status.hero.hp = 0; core.updateStatusBar(); core.events.lose(); + return; } else { core.updateStatusBar(); }