mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Spyglass sanity check on dropped / equipped (#69283)
you can put things on / take things off of people who don't have clients.
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
/obj/item/clothing/glasses/sunglasses/spy/equipped(mob/user, slot)
|
||||
. = ..()
|
||||
if(slot != ITEM_SLOT_EYES)
|
||||
user.client.close_popup("spypopup")
|
||||
user.client?.close_popup("spypopup")
|
||||
|
||||
/obj/item/clothing/glasses/sunglasses/spy/dropped(mob/user)
|
||||
. = ..()
|
||||
user.client.close_popup("spypopup")
|
||||
user.client?.close_popup("spypopup")
|
||||
|
||||
/obj/item/clothing/glasses/sunglasses/spy/ui_action_click(mob/user)
|
||||
show_to_user(user)
|
||||
|
||||
Reference in New Issue
Block a user