mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
No roundstart stuff needed anymore
This commit is contained in:
@@ -8,13 +8,6 @@
|
||||
|
||||
/obj/effect/spawner/lootdrop/Initialize(mapload)
|
||||
..()
|
||||
if(mapload)
|
||||
// the delay gives holidays chance to modify maint loot
|
||||
SSticker.OnRoundstart(CALLBACK(src, .proc/lootdrop))
|
||||
else
|
||||
lootdrop()
|
||||
|
||||
/obj/effect/spawner/lootdrop/proc/lootdrop()
|
||||
if(loot && loot.len)
|
||||
var/turf/T = get_turf(src)
|
||||
while(lootcount && loot.len)
|
||||
@@ -65,7 +58,7 @@
|
||||
name = "maintenance loot spawner"
|
||||
// see code/_globalvars/lists/maintenance_loot.dm for loot table
|
||||
|
||||
/obj/effect/spawner/lootdrop/maintenance/lootdrop()
|
||||
/obj/effect/spawner/lootdrop/maintenance/Initialize(mapload)
|
||||
loot = GLOB.maintenance_loot
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user