Merge pull request #13883 from Heroman3003/assorted-fix

Allows ID to be inserted into fax machine by clicking it + 2 minor fixes
This commit is contained in:
Casey
2022-10-09 23:08:05 -04:00
committed by CHOMPStation2
parent 0972599a01
commit 897c1135fa
5 changed files with 14 additions and 7 deletions

View File

@@ -164,7 +164,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) || user.universal_understand) && !forceshow)
if(!(forceshow || (istype(user, /mob/living/carbon/human) || istype(user, /mob/observer/dead) || istype(user, /mob/living/silicon) || (istype(user) && user.universal_understand))))
user << browse("<HTML><HEAD><TITLE>[name]</TITLE></HEAD><BODY>[stars(info)][stamps]</BODY></HTML>", "window=[name]")
onclose(user, "[name]")
else