mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Fix runtime due to processing hydrotray at loc=null
This commit is contained in:
@@ -22,11 +22,9 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
|
|||||||
|
|
||||||
/datum/supply_packs/New()
|
/datum/supply_packs/New()
|
||||||
manifest += "<ul>"
|
manifest += "<ul>"
|
||||||
for(var/path in contains)
|
for(var/atom/movable/path in contains)
|
||||||
if(!path) continue
|
if(!path) continue
|
||||||
var/atom/movable/AM = new path()
|
manifest += "<li>[initial(path.name)]</li>"
|
||||||
manifest += "<li>[AM.name]</li>"
|
|
||||||
AM.loc = null //just to make sure they're deleted by the garbage collector
|
|
||||||
manifest += "</ul>"
|
manifest += "</ul>"
|
||||||
|
|
||||||
/datum/supply_packs/specialops
|
/datum/supply_packs/specialops
|
||||||
|
|||||||
Reference in New Issue
Block a user