From 63717bdf51a30cd0dd5a18685efc9dcad8ac6e56 Mon Sep 17 00:00:00 2001 From: Summet Date: Sat, 27 Jun 2020 18:06:13 +0300 Subject: [PATCH] Small Colored Shields Improvement. (#2193) When a player places a force projector, the color of its edges will be the color of the player. --- core/src/mindustry/world/blocks/defense/ForceProjector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/world/blocks/defense/ForceProjector.java b/core/src/mindustry/world/blocks/defense/ForceProjector.java index ca90cd65bf..e6bc50cdc2 100644 --- a/core/src/mindustry/world/blocks/defense/ForceProjector.java +++ b/core/src/mindustry/world/blocks/defense/ForceProjector.java @@ -16,7 +16,7 @@ import mindustry.world.*; import mindustry.world.consumers.*; import mindustry.world.meta.*; -import static mindustry.Vars.tilesize; +import static mindustry.Vars.*; public class ForceProjector extends Block{ public final int timerUse = timers++; @@ -72,7 +72,7 @@ public class ForceProjector extends Block{ Draw.color(Pal.gray); Lines.stroke(3f); Lines.poly(x * tilesize, y * tilesize, 6, radius); - Draw.color(Pal.accent); + Draw.color(player.team().color); Lines.stroke(1f); Lines.poly(x * tilesize, y * tilesize, 6, radius); Draw.color();