v0.6.1a: fixed hangs caused by changes to hero search logic
This commit is contained in:
parent
cae26999c2
commit
20f3288f06
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user