fuzzyworld

godot-shooter / commit

Make the objective icons in the radar the same color as the objectives (gold).

384e45ed4c4ab1d1188e587d3cf6911e7970f19c · Pavel Safronov · 2023-11-09 21:15:28 -0800 · parents b6466fa22e51

Make the objective icons in the radar the same color as the objectives (gold).
 World.gd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/World.gd b/World.gd
index 85496de..9e270d1 100644
--- a/World.gd
+++ b/World.gd
@@ -137,7 +137,7 @@ func _process(_delta: float) -> void:
 			enemy.teleport(new_pos)
 
 	player.clear_radar()
-	player.update_radar(get_tree().get_nodes_in_group("gold"), Color.gray)
+	player.update_radar(get_tree().get_nodes_in_group("gold"), Color.gold)
 	player.update_radar(filteredEnemies, Color.red)
 
 func pause():