fix corpse equipment generation runtime (#34741)

* fix corpse equipment generation runtime

* far better fix lol
This commit is contained in:
nervere
2023-07-22 15:22:21 -04:00
committed by GitHub
parent a8a0ed0744
commit a7d3d20292

View File

@@ -12,7 +12,7 @@
var/corpsegender = G_MALE
var/list/possible_names
var/corpseuniform = null //Set this to an object path to have the slot filled with said object on the corpse.
var/list/corpseuniform = null //Set this to an object path to have the slot filled with said object on the corpse.
var/corpsesuit = null
var/corpseshoes = null
var/corpsegloves = null
@@ -1302,8 +1302,8 @@
corpsehelmet = list(/obj/item/clothing/head/ushanka, /obj/item/clothing/head/squatter_hat) //heh
/obj/effect/landmark/corpse/civilian/New()
corpseuniform += existing_typesof(/obj/item/clothing/under/color)
corpsehelmet += existing_typesof(/obj/item/clothing/head/soft)
corpseuniform = existing_typesof(/obj/item/clothing/under/color)
corpsehelmet = existing_typesof(/obj/item/clothing/head/soft)
return ..()