v0.6.1a: fixed hangs caused by changes to hero search logic
This commit is contained in:
@@ -483,7 +483,7 @@ public class Hero extends Char {
|
|||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curAction == null) {
|
if (curAction == null || search(false)) {
|
||||||
|
|
||||||
if (resting) {
|
if (resting) {
|
||||||
spend( TIME_TO_REST ); next();
|
spend( TIME_TO_REST ); next();
|
||||||
@@ -495,8 +495,6 @@ public class Hero extends Char {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
search( false );
|
|
||||||
|
|
||||||
resting = false;
|
resting = false;
|
||||||
|
|
||||||
ready = false;
|
ready = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user