Small Colored Shields Improvement. (#2193)
When a player places a force projector, the color of its edges will be the color of the player.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user