Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 360ae58

Browse files
Replace istype
Co-authored-by: Byemoh <[email protected]>
1 parent 9b321d1 commit 360ae58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/admin/topic.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@
18301830
send_admin_fax()
18311831

18321832
/client/proc/send_admin_fax(obj/machinery/photocopier/faxmachine/F)
1833-
var/syndicate = istype(F) ? F.obj_flags & EMAGGED : FALSE
1833+
var/syndicate = (F?.obj_flags & EMAGGED)
18341834
var/inputsubject = input(src, "Please enter a subject", "Outgoing message from [syndicate ? "Syndicate" : "CentCom"]", "") as text|null
18351835
if(!inputsubject)
18361836
return

0 commit comments

Comments
 (0)