mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
Ghost altclick guard for pet carriers
This commit is contained in:
committed by
GitHub
parent
caf024ec92
commit
e030d5dc2a
@@ -70,7 +70,7 @@
|
||||
update_icon()
|
||||
|
||||
/obj/item/pet_carrier/AltClick(mob/living/user)
|
||||
if(open)
|
||||
if(open || !user.canUseTopic(src, be_close=TRUE))
|
||||
return
|
||||
locked = !locked
|
||||
to_chat(user, "<span class='notice'>You flip the lock switch [locked ? "down" : "up"].</span>")
|
||||
|
||||
Reference in New Issue
Block a user