mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Moves supply pack check down to atom
This commit is contained in:
@@ -23,9 +23,9 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
|
||||
/datum/supply_packs/New()
|
||||
manifest += "<ul>"
|
||||
for(var/path in contains)
|
||||
if(!path || !ispath(path, /obj/item))
|
||||
if(!path || !ispath(path, /atom))
|
||||
continue
|
||||
var/obj/item/O = path
|
||||
var/atom/O = path
|
||||
manifest += "<li>[initial(O.name)]</li>"
|
||||
manifest += "</ul>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user