v0.3.1: refactored resting based on new functionality. Hitting full HP now interrupts resting.
This commit is contained in:
@@ -103,7 +103,7 @@ public class HeroSprite extends CharSprite {
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
sleeping = ch.isAlive() && ((Hero)ch).restoreHealth;
|
||||
sleeping = ch.isAlive() && ((Hero)ch).resting;
|
||||
|
||||
super.update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user