9 lines
140 B
GDScript
9 lines
140 B
GDScript
|
|
extends Label
|
||
|
|
|
||
|
|
func _ready():
|
||
|
|
Clock.day_passed.connect(_update_text)
|
||
|
|
_update_text()
|
||
|
|
|
||
|
|
func _update_text():
|
||
|
|
text = Clock.get_date_string()
|