Experimental: block loader/unloaders
This commit is contained in:
@@ -765,7 +765,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
}
|
||||
|
||||
Tilec tile = world.entWorld(Core.input.mouseWorld().x, Core.input.mouseWorld().y);
|
||||
if(tile instanceof ControlBlock){
|
||||
if(tile instanceof ControlBlock && tile.team() == player.team()){
|
||||
return ((ControlBlock)tile).unit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user