survivors: fixing drops being duplicated (sometimes)

adding item container system to not edit the list while iterating over
This commit is contained in:
Sheldan
2025-08-30 20:24:35 +02:00
parent e44355bf21
commit b591fc2dee
3 changed files with 65 additions and 33 deletions

View File

@@ -67,7 +67,6 @@ export class MoneyDrop extends BasicDrop {
drop.worth = 1;
drop.size = 1;
drop._color = 'orange';
world.addDrop(drop)
return drop;
}
}