online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/TimerLabels.gd')
| -rw-r--r-- | ui/TimerLabels.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/TimerLabels.gd b/ui/TimerLabels.gd index 03e8aee..6885881 100644 --- a/ui/TimerLabels.gd +++ b/ui/TimerLabels.gd @@ -38,6 +38,6 @@ func _on_game_over() -> void: func set_color() -> void: if time > 10: - colorrect.color = Globals.grid.clockrunning_color if Globals.turn == white else Color.transparent + colorrect.color = Globals.grid.clockrunning_color if Globals.team == white else Color.transparent else: - colorrect.color = Globals.grid.clockrunninglow if Globals.turn == white else Globals.grid.clocklow + colorrect.color = Globals.grid.clockrunninglow if Globals.team == white else Globals.grid.clocklow |