Commit Graph

9 Commits

Author SHA1 Message Date
3124f82a2f alap 2025-12-14 21:08:19 +01:00
3a7b81bfd7 save 2025-12-14 21:04:22 +01:00
dd17030e56 Fix: Add periodic villager position sync from server
- Server syncs villager positions every ~3 seconds to clients
- Only syncs villagers that moved more than 0.5 units (bandwidth optimization)
- Maintains position cache to detect movement
- Clears cache on lobby leave to prevent stale data

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 10:58:37 +01:00
f7fc5a3969 Fix: Proper session cleanup in LeaveLobby
- Clear clientSteamIds dictionary on disconnect
- Reset loadingSave flag to false
- Prevents stale data when rejoining servers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 10:51:21 +01:00
f03e13236f asd 2025-12-14 01:45:02 +01:00
7fc86a804a syx 2025-12-13 18:35:44 +01:00
c6c60a7e07 fix? 2025-12-13 17:11:00 +01:00
7dd6fab39e again lobby 2025-12-13 14:30:34 +01:00
679c3c9a52 first commit 2025-12-13 14:28:35 +01:00