v1.2.0: fixed hero moving from left stick when they should be blocked
This commit is contained in:
parent
e853413649
commit
6b52643082
|
@ -335,6 +335,10 @@ public class CellSelector extends ScrollArea {
|
||||||
public void update() {
|
public void update() {
|
||||||
super.update();
|
super.update();
|
||||||
|
|
||||||
|
if (GameScene.interfaceBlockingHero()){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
GameAction newLeftStick = actionFromStick(ControllerHandler.leftStickPosition.x,
|
GameAction newLeftStick = actionFromStick(ControllerHandler.leftStickPosition.x,
|
||||||
ControllerHandler.leftStickPosition.y);
|
ControllerHandler.leftStickPosition.y);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user