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.
4 lines
27 B
JSON
4 lines
27 B
JSON
{
|
|
"version": "1.1.3"
|
|
}
|