v1.2.0: fixed hero moving from left stick when they should be blocked
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user