Merge pull request #8451 from Verkister/patch-87

Fixes universal_understand keeping mobs illiterate
This commit is contained in:
Atermonera
2022-03-20 15:31:25 -04:00
committed by VirgoBot
parent 8c2a8f75e4
commit 9ee3843499
+1 -1
View File
@@ -165,7 +165,7 @@
. += "<span class='notice'>You have to go closer if you want to read it.</span>"
/obj/item/weapon/paper/proc/show_content(var/mob/user, var/forceshow=0)
if(!(istype(user, /mob/living/carbon/human) || istype(user, /mob/observer/dead) || istype(user, /mob/living/silicon)) && !forceshow)
if(!(istype(user, /mob/living/carbon/human) || istype(user, /mob/observer/dead) || istype(user, /mob/living/silicon) || user.universal_understand) && !forceshow)
user << browse("<HTML><HEAD><TITLE>[name]</TITLE></HEAD><BODY>[stars(info)][stamps]</BODY></HTML>", "window=[name]")
onclose(user, "[name]")
else