mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
paper exploit fixes
i think my favourite part of this was ```var/obj/item/i = usr.get_active_hand() if( ... && usr.get_active_hand() != i))```
This commit is contained in:
@@ -294,7 +294,8 @@
|
||||
iscrayon = 1
|
||||
|
||||
|
||||
if((!in_range(src, usr) && loc != usr && !( istype(loc, /obj/item/weapon/clipboard) ) && loc.loc != usr && usr.get_active_hand() != i)) // Some check to see if he's allowed to write
|
||||
// if paper is not in usr, then it must be in a clipboard or folder, which must be in or near usr
|
||||
if(src.loc != usr && !((istype(src.loc, /obj/item/weapon/clipboard) || istype(src.loc, /obj/item/weapon/folder)) && (src.loc.loc == usr || src.loc.Adjacent(usr)) ) )
|
||||
return
|
||||
/*
|
||||
t = checkhtml(t)
|
||||
|
||||
Reference in New Issue
Block a user