Fix doAction when setValue lose
This commit is contained in:
parent
fb90b334ce
commit
a1ddca606c
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user