a question in Developer Help
|
|
ok i have here somthing that respawns the objects in the world...but there is a bug, it restores the npc mobs that have been restored too! (and this is the only part of my game that has 'repop' called) so im thinking its somthing ive done wrong?
world/New()
spawn
while(1)
sleep(100)
for(var/obj/clips/L in world)
sleep(310)
Repop(L)
for(var/obj/gherb/L in world)
sleep(520)
Repop(L)
[edit] all i want restored is 'gherb' and the 'clips' but it makes every thing, including mobs and other obj's [/edit]
|