[S] Unfucks it please oh god (#26269)

* this should fix it

* this should fix it
This commit is contained in:
BiancaWilkson
2024-07-20 22:28:16 -04:00
committed by GitHub
parent 0e276079b8
commit 92a06960f7
+1 -1
View File
@@ -85,7 +85,7 @@
if(usr.stat || usr.restrained())
return
var/obj/item/paper/paper = locate(params["paper"])
if(!paper && paper.loc != src)
if(!istype(paper) || paper.loc != src)
return
var/obj/item/held_item = usr.get_active_hand()
if(is_pen(held_item))