Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -883,7 +883,7 @@ def initialize_world():
|
|
883 |
print(f"Loading most recent world on startup: {latest_world_file_basename}")
|
884 |
if load_world_state_from_md(latest_world_file_basename): loaded_successfully = True
|
885 |
else: print("Failed to load most recent world, starting empty.")
|
886 |
-
|
887 |
if not loaded_successfully:
|
888 |
with world_objects_lock: world_objects.clear()
|
889 |
st.session_state.current_world_file = None
|
|
|
883 |
print(f"Loading most recent world on startup: {latest_world_file_basename}")
|
884 |
if load_world_state_from_md(latest_world_file_basename): loaded_successfully = True
|
885 |
else: print("Failed to load most recent world, starting empty.")
|
886 |
+
else: print("No saved worlds found, starting with empty state.")
|
887 |
if not loaded_successfully:
|
888 |
with world_objects_lock: world_objects.clear()
|
889 |
st.session_state.current_world_file = None
|