v0.3.1: resting now works while at full health.
This commit is contained in:
parent
4f226a409d
commit
bb4e915132
|
@ -431,13 +431,9 @@ public class Hero extends Char {
|
|||
if (curAction == null) {
|
||||
|
||||
if (restoreHealth) {
|
||||
if (HP >= HT || Dungeon.level.locked) {
|
||||
restoreHealth = false;
|
||||
} else {
|
||||
spend( TIME_TO_REST ); next();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
ready();
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user