Command center name added / Regression fix

This commit is contained in:
Anuken
2018-07-26 23:04:37 -04:00
parent 68fd09c222
commit ce2896cb38
5 changed files with 10 additions and 4 deletions
@@ -65,7 +65,7 @@ public class OverlayRenderer{
Vector2 vec = Graphics.world(input.getMouseX(), input.getMouseY());
Tile tile = world.tileWorld(vec.x, vec.y);
if(tile != null && tile.block() != Blocks.air && tile.getTeam() == players[0].getTeam()){
if(tile != null && tile.block() != Blocks.air && tile.target().getTeam() == players[0].getTeam()){
Tile target = tile.target();
if(showBlockDebug && target.entity != null){
@@ -3,6 +3,8 @@ package io.anuke.mindustry.graphics;
import com.badlogic.gdx.graphics.Color;
public class Palette{
public static final Color command = Color.valueOf("eab678");
public static final Color bulletYellow = Color.valueOf("ffeec9");
public static final Color bulletYellowBack = Color.valueOf("f9c87a");