mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
[s] Fixes altclick exploits (#35456)
* Fixes altclick exploits * Removed free spam, fixes monkey altclicks * replaced named args with proper defines * More cleanup and fixes * Better yet * Another exploit fix * pet carrier fix
This commit is contained in:
@@ -656,8 +656,7 @@
|
||||
|
||||
/obj/machinery/power/apc/AltClick(mob/user)
|
||||
..()
|
||||
if(!issilicon(user) && (!user.canUseTopic(src, be_close=TRUE) || !isturf(loc)))
|
||||
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
|
||||
if(!user.canUseTopic(src, !issilicon(user)) || !isturf(loc))
|
||||
return
|
||||
else
|
||||
togglelock(user)
|
||||
|
||||
Reference in New Issue
Block a user