mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Attacking a locker or crate with an ID-containing object will toggle the lock instead of opening it
This commit is contained in:
@@ -251,7 +251,7 @@
|
||||
"<span class='italics'>You hear welding.</span>")
|
||||
update_icon()
|
||||
else if(user.a_intent != "harm" && !(W.flags & NOBLUDGEON))
|
||||
if(!toggle(user))
|
||||
if(W.GetID() || !toggle(user))
|
||||
togglelock(user)
|
||||
return 1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user