mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
[MIRROR] Fix some more issues (#12321)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
b13d66ff41
commit
16dfa3fc1e
@@ -27,8 +27,10 @@ var/list/holder_mob_icon_cache = list()
|
||||
var/original_vis_flags = NONE
|
||||
|
||||
/obj/item/holder/Initialize(mapload, mob/held)
|
||||
ASSERT(ismob(held))
|
||||
. = ..()
|
||||
if(!ismob(held))
|
||||
stack_trace("Holder was not passed a mob.")
|
||||
return INITIALIZE_HINT_QDEL
|
||||
held.forceMove(src)
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user