Various fixes

This commit is contained in:
Anuken
2020-06-05 18:03:57 -04:00
parent 1ef546b578
commit 685f915656
3 changed files with 2 additions and 3 deletions

View File

@@ -204,8 +204,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
@Remote(targets = Loc.both, called = Loc.server, forward = true)
public static void onUnitCommand(Playerc player){
//no free core teleports?
if(!player.dead() || !(player.unit() instanceof Commanderc)) return;
if(player.dead() || !(player.unit() instanceof Commanderc)) return;
Commanderc commander = (Commanderc)player.unit();