Fixed #4147
This commit is contained in:
@@ -755,9 +755,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
}
|
||||
|
||||
public void powerGraphRemoved(){
|
||||
if(power == null){
|
||||
return;
|
||||
}
|
||||
if(power == null) return;
|
||||
|
||||
power.graph.remove(self());
|
||||
for(int i = 0; i < power.links.size; i++){
|
||||
|
||||
@@ -629,8 +629,8 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(){
|
||||
super.update();
|
||||
public void updateState(){
|
||||
super.updateState();
|
||||
|
||||
if(state.isMenu()){
|
||||
selectRequests.clear();
|
||||
@@ -639,6 +639,11 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
manualShooting = false;
|
||||
payloadTarget = null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(){
|
||||
super.update();
|
||||
|
||||
if(player.dead()){
|
||||
mode = none;
|
||||
|
||||
Reference in New Issue
Block a user