Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -952,7 +952,7 @@ def initialize_world():
|
|
952 |
print(f"Loading most recent world on startup: {latest_world_file_basename}")
|
953 |
if load_world_state_from_md(latest_world_file_basename): loaded_successfully = True
|
954 |
else: print("Failed to load most recent world, starting empty.")
|
955 |
-
|
956 |
if not loaded_successfully:
|
957 |
with world_objects_lock: world_objects.clear(); # Ensure empty state
|
958 |
st.session_state.current_world_file = None
|
|
|
952 |
print(f"Loading most recent world on startup: {latest_world_file_basename}")
|
953 |
if load_world_state_from_md(latest_world_file_basename): loaded_successfully = True
|
954 |
else: print("Failed to load most recent world, starting empty.")
|
955 |
+
else: print("No saved worlds found, starting with empty state.")
|
956 |
if not loaded_successfully:
|
957 |
with world_objects_lock: world_objects.clear(); # Ensure empty state
|
958 |
st.session_state.current_world_file = None
|