mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 14:32:06 -08:00
Experimental: block loader/unloaders
This commit is contained in:
parent
0e59a22cbe
commit
1ae9d04f47
35 changed files with 2700 additions and 2231 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue