mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 23:11:12 -08:00
Input fix
This commit is contained in:
parent
de23ef5d35
commit
329f656c40
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
|||
Tile tile = world.tileWorld(x, y);
|
||||
if(tile != null) tile = tile.target();
|
||||
|
||||
if(tile != null && state.teams.areEnemies(player.getTeam(), tile.getTeam())){
|
||||
if(tile != null && tile.synthetic() && state.teams.areEnemies(player.getTeam(), tile.getTeam())){
|
||||
TileEntity entity = tile.entity;
|
||||
player.setMineTile(null);
|
||||
player.target = entity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue