Fix doAction when setValue lose

This commit is contained in:
ckcz123 committed 2021-09-06 17:00:57 +08:00
1 parent fb90b334ce
commit a1ddca606c
1 file changed
+1
+1
View File
@@ -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();
}