mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
TGUI Notice Board
This commit is contained in:
@@ -444,8 +444,12 @@
|
||||
|
||||
|
||||
// if paper is not in usr, then it must be near them, or in a clipboard or folder, which must be in or near usr
|
||||
if(src.loc != usr && !src.Adjacent(usr) && !((istype(src.loc, /obj/item/weapon/clipboard) || istype(src.loc, /obj/item/weapon/folder)) && (src.loc.loc == usr || src.loc.Adjacent(usr)) ) )
|
||||
if(istype(loc, /obj/item/weapon/clipboard) || istype(loc, /obj/structure/noticeboard) || istype(loc, /obj/item/weapon/folder))
|
||||
if(loc.loc != usr && !in_range(loc, usr))
|
||||
return
|
||||
else if(loc != usr && !Adjacent(usr))
|
||||
return
|
||||
|
||||
/*
|
||||
t = checkhtml(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user