Fix doAction when setValue lose

This commit is contained in:
ckcz123 2021-09-06 17:00:57 +08:00
parent fb90b334ce
commit a1ddca606c

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();
}