mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
Merge pull request #6490 from GinjaNinja32/hydroponics
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()
|
||||
manifest += "<ul>"
|
||||
for(var/path in contains)
|
||||
for(var/atom/movable/path in contains)
|
||||
if(!path) continue
|
||||
var/atom/movable/AM = new path()
|
||||
manifest += "<li>[AM.name]</li>"
|
||||
AM.loc = null //just to make sure they're deleted by the garbage collector
|
||||
manifest += "<li>[initial(path.name)]</li>"
|
||||
manifest += "</ul>"
|
||||
|
||||
/datum/supply_packs/specialops
|
||||
|
||||
Reference in New Issue
Block a user