The cleanup loop ran on onClientResourceStart, but spawnedSafes is already a fresh empty table by then, so it never actually deleted anything. Props from before a restart stayed orphaned in the world and got duplicated by the requestSync on start. Moved the cleanup to onClientResourceStop, which runs while the entities are still known.
Description
No description provided
Languages
Lua
100%