Update src/core/world.py
Browse files- src/core/world.py +1 -1
src/core/world.py
CHANGED
@@ -295,7 +295,7 @@ class GameWorld:
|
|
295 |
}
|
296 |
}
|
297 |
|
298 |
-
def cleanup_inactive_players(self, timeout_seconds: int =
|
299 |
"""Remove players that have been inactive for too long."""
|
300 |
with self._lock:
|
301 |
inactive_players = [
|
|
|
295 |
}
|
296 |
}
|
297 |
|
298 |
+
def cleanup_inactive_players(self, timeout_seconds: int = 86400):
|
299 |
"""Remove players that have been inactive for too long."""
|
300 |
with self._lock:
|
301 |
inactive_players = [
|