mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 09:35:30 +01:00
Alt-clicking abandoned crates no longer makes them explode. (#17433)
* Alt-clicking no longer explodes abandoned crates. * humies only * canusetopic to satisfy the kor
This commit is contained in:
@@ -174,6 +174,11 @@
|
||||
/obj/structure/closet/crate/secure/loot/attack_animal(mob/user)
|
||||
boom(user)
|
||||
|
||||
/obj/structure/closet/crate/secure/loot/AltClick(mob/living/user)
|
||||
if(!user.canUseTopic(src))
|
||||
return
|
||||
attack_hand(user)
|
||||
|
||||
/obj/structure/closet/crate/secure/loot/attackby(obj/item/weapon/W, mob/user)
|
||||
if(locked)
|
||||
if(istype(W, /obj/item/weapon/card/emag))
|
||||
|
||||
Reference in New Issue
Block a user