Skip to content

Commit c49ad11

Browse files
committed
Add timestamps to the load process
1 parent dfb7593 commit c49ad11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mirror-godot-app/scripts/space/instance_manager.gd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,12 @@ func _preload_space_objects() -> void:
123123
func setup_space_objects() -> void:
124124
assert(Zone.is_host())
125125
clear_children()
126+
print("Preloading space objects: ", Time.get_datetime_string_from_system())
126127
# preload necessary space_objects on server first
127128
_preload_space_objects()
128129
_load_object_start_time = Time.get_unix_time_from_system()
130+
131+
print("Creating standard space objects: ", Time.get_datetime_string_from_system())
129132
for space_obj in Zone.space_objects:
130133
if space_obj.get("preloadBeforeSpaceStarts", false):
131134
continue
@@ -139,6 +142,7 @@ func setup_space_objects() -> void:
139142
create_space_object(space_obj, {})
140143
await wait_until_ready_to_simulate()
141144
print("Completed loading server objects took %d seconds" % (Time.get_unix_time_from_system() - _load_object_start_time))
145+
print("Physics Ready at: ", Time.get_datetime_string_from_system())
142146
space_objects_created.emit()
143147

144148

0 commit comments

Comments
 (0)