Good catch linter.
This commit is contained in:
@@ -29,9 +29,9 @@
|
|||||||
UnregisterSignal(source, COMSIG_CLICK_ALT)
|
UnregisterSignal(source, COMSIG_CLICK_ALT)
|
||||||
UnregisterSignal(source, COMSIG_PARENT_EXAMINE)
|
UnregisterSignal(source, COMSIG_PARENT_EXAMINE)
|
||||||
|
|
||||||
/datum/element/mob_holder/proc/on_examine(mob/living/source, mob/user, .)
|
/datum/element/mob_holder/proc/on_examine(mob/living/source, mob/user, list/examine_list)
|
||||||
if(ishuman(user) && !istype(source.loc, /obj/item/clothing/head/mob_holder))
|
if(ishuman(user) && !istype(source.loc, /obj/item/clothing/head/mob_holder))
|
||||||
. += "<span class='notice'>Looks like [source.p_they(TRUE)] can be picked up with <b>Alt+Click</b>!</span>"
|
examine_list += "<span class='notice'>Looks like [source.p_they(TRUE)] can be picked up with <b>Alt+Click</b>!</span>"
|
||||||
|
|
||||||
/datum/element/mob_holder/proc/mob_try_pickup(mob/living/source, mob/user)
|
/datum/element/mob_holder/proc/mob_try_pickup(mob/living/source, mob/user)
|
||||||
if(!ishuman(user) || !user.Adjacent(source) || user.incapacitated())
|
if(!ishuman(user) || !user.Adjacent(source) || user.incapacitated())
|
||||||
|
|||||||
Reference in New Issue
Block a user