v0.6.1a: fixed hangs caused by changes to hero search logic

This commit is contained in:
Evan Debenham 2017-08-17 15:42:20 -04:00
parent cae26999c2
commit 20f3288f06

View File

@ -483,7 +483,7 @@ public class Hero extends Char {
Dungeon.observe();
}
if (curAction == null) {
if (curAction == null || search(false)) {
if (resting) {
spend( TIME_TO_REST ); next();
@ -495,8 +495,6 @@ public class Hero extends Char {
} else {
search( false );
resting = false;
ready = false;