v1.2.0: fixed movement keys triggering on targeting cell selectors
This commit is contained in:
parent
8cf519d3e1
commit
c0219c95e0
|
@ -373,7 +373,9 @@ public class CellSelector extends ScrollArea {
|
|||
|
||||
if (cell != Dungeon.hero.pos && cell != lastCellMoved){
|
||||
lastCellMoved = cell;
|
||||
select(cell, PointerEvent.LEFT);
|
||||
if (Dungeon.hero.handle( cell )) {
|
||||
Dungeon.hero.next();
|
||||
}
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user