v0.3.1: allowed resting while hungry

This commit is contained in:
Evan Debenham
2015-07-13 01:03:25 -04:00
committed by Evan Debenham
parent 79c12e11b5
commit 272d4834b3
3 changed files with 6 additions and 5 deletions
@@ -103,7 +103,7 @@ public class HeroSprite extends CharSprite {
@Override
public void update() {
sleeping = ((Hero)ch).restoreHealth;
sleeping = ch.isAlive() && ((Hero)ch).restoreHealth;
super.update();
}