Skip to content

Commit

Permalink
Merge pull request #4175 from out-of-phaze/fix/penlight-fix
Browse files Browse the repository at this point in the history
Fixes penlights not working to inspect pupils
  • Loading branch information
MistakeNot4892 authored Jul 8, 2024
2 parents 2b96307 + 4180289 commit 7108df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/items/flashlights/_flashlight.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

/obj/item/flashlight/use_on_mob(mob/living/target, mob/living/user, animate = TRUE)

if(on && user.get_target_zone() == BP_EYES && target.should_have_organ(BP_HEAD))
if(on && user.get_target_zone() == BP_EYES && target.should_have_limb(BP_HEAD))

add_fingerprint(user)
if(user.has_genetic_condition(GENE_COND_CLUMSY) && prob(50)) //too dumb to use flashlight properly
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/tape.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
to_chat(user, SPAN_WARNING("\The [target] isn't wearing a spacesuit for you to reseal."))
return TRUE

if(!target?.should_have_organ(BP_HEAD))
if(!target?.should_have_limb(BP_HEAD))
return ..()

if(user.get_target_zone() == BP_EYES)
Expand Down

0 comments on commit 7108df4

Please sign in to comment.