v0.6.0b: ensured the hero action is cleared when levels are changed
This commit is contained in:
parent
3b30bdca18
commit
804c3aea83
|
@ -324,6 +324,8 @@ public class Dungeon {
|
|||
Light light = hero.buff( Light.class );
|
||||
hero.viewDistance = light == null ? level.viewDistance : Math.max( Light.DISTANCE, level.viewDistance );
|
||||
|
||||
hero.curAction = hero.lastAction = null;
|
||||
|
||||
observe();
|
||||
try {
|
||||
saveAll();
|
||||
|
|
Loading…
Reference in New Issue
Block a user