From 66f7198c7c3aadcecd8a704f9ca0e965d671da34 Mon Sep 17 00:00:00 2001 From: Summet <55251897+Summet-V@users.noreply.github.com> Date: Sun, 7 Jun 2020 21:56:41 +0300 Subject: [PATCH] [Small Fix] Cursor On Enemy Block. (#2152) * cursor fix * mistake --- core/src/mindustry/entities/comp/TileComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/comp/TileComp.java b/core/src/mindustry/entities/comp/TileComp.java index 6a05794228..039469162e 100644 --- a/core/src/mindustry/entities/comp/TileComp.java +++ b/core/src/mindustry/entities/comp/TileComp.java @@ -995,7 +995,7 @@ abstract class TileComp implements Posc, Teamc, Healthc, Tilec, Timerc, QuadTree /** Returns whether or not a hand cursor should be shown over this block. */ public Cursor getCursor(){ - return block.configurable ? SystemCursor.hand : SystemCursor.arrow; + return block.configurable && tile.team() == player.team() ? SystemCursor.hand : SystemCursor.arrow; } /**