mirror of
https://github.com/Cookie-CHR/OfficeMadness-LD51.git
synced 2024-11-23 15:14:18 +00:00
13 lines
323 B
GDScript3
13 lines
323 B
GDScript3
|
extends Label
|
||
|
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready():
|
||
|
var seconds = GlobalTimer.seconds_passed%60
|
||
|
var minutes = (GlobalTimer.seconds_passed/60)%60
|
||
|
var string = ""
|
||
|
|
||
|
if minutes > 0:
|
||
|
string += str(minutes)+" minutes and"
|
||
|
string += str(seconds)+" seconds"
|
||
|
self.text = string
|