small racing game im working on
Diffstat (limited to 'ui/splits/splits.gd')
| -rw-r--r-- | ui/splits/splits.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/splits/splits.gd b/ui/splits/splits.gd index 8a160c6..0a8d9be 100644 --- a/ui/splits/splits.gd +++ b/ui/splits/splits.gd @@ -1,7 +1,7 @@ extends VBoxContainer class_name Splits -@export var diff: PanelContainer +@export var diff: SplitsDifference @export var current: Label var timer: SceneTreeTimer @@ -11,4 +11,4 @@ func update(time: float, prev_time: float) -> void: diff.update(time, prev_time) current.text = GameTimer.format(time) timer = get_tree().create_timer(5) - timer.timeout.connect(hide)
\ No newline at end of file + timer.timeout.connect(hide) |