mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Reversions and fixes (#7889)
Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
@@ -58,10 +58,16 @@
|
||||
species_restricted = null
|
||||
|
||||
/obj/item/clothing/shoes/none/Initialize()
|
||||
..()
|
||||
if(istype(loc, /mob))
|
||||
. = ..()
|
||||
if(istype(loc, /mob)) // are we in a mob?
|
||||
var/mob/m = loc
|
||||
m.drop_from_inventory(src, get_turf(m))
|
||||
m.update_inv_shoes()
|
||||
moveToNullspace()
|
||||
return INITIALIZE_HINT_QDEL //Fuck them shoes
|
||||
if(contents.len) // spill out contents (e.g. microholders)
|
||||
for(var/atom/movable/thing in contents)
|
||||
thing.loc = get_turf(src)
|
||||
moveToNullspace() // go to nullspace
|
||||
spawn(1)
|
||||
qdel(src) // die
|
||||
|
||||
/obj/item/clothing/shoes/none/make_worn_icon(body_type, slot_name, inhands, default_icon, default_layer, icon/clip_mask) // override this to ensure that no worn icon is generated
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user