Skip to content

Commit

Permalink
bugfix: ghosts can now examine humans (#6119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Nov 3, 2024
1 parent 1209865 commit 09a6dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
pose = addtext(pose,".") //Makes sure all emotes end with a period.
msg += "\n[p_they(TRUE)] [p_are()] [pose]"

if(client && mind && !mind.offstation_role && user.mind.special_role) // No ashwalkers, monkeys etc
if(client && mind && !mind.offstation_role && user.mind?.special_role) // No ashwalkers, monkeys etc
var/permission_granted = client.prefs.toggles2 & PREFTOGGLE_2_GIB_WITHOUT_OBJECTIVE
msg += "\n<div class='examine'>[span_info("Вы[permission_granted ? "" : " [span_warning("НЕ")]"] можете вывести этого игрока из игры не имея соответствующей цели.")]</div>"

Expand Down

0 comments on commit 09a6dc5

Please sign in to comment.