Fix time freeze

This commit is contained in:
Rafał Mikrut 2021-11-27 16:41:58 +01:00
parent c4fe91f121
commit 0dde5887fd

View File

@ -30,7 +30,7 @@ func _init():
if ClassDB.class_exists("_Time"): if ClassDB.class_exists("_Time"):
time_object = ClassDB.instance("_Time") time_object = ClassDB.instance("_Time")
elif ClassDB.class_exists("Time"): elif ClassDB.class_exists("Time"):
time_object = ClassDB.instance("_Time") time_object = ClassDB.instance("Time")
else: else:
time_object = ClassDB.instance("_OS") time_object = ClassDB.instance("_OS")