mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Prevent welded locker traps (#8288)
This commit is contained in:
@@ -336,6 +336,8 @@
|
||||
to_chat(user, "<span class='notice'>You need more welding fuel to complete this task.</span>")
|
||||
return
|
||||
if(do_after(user, 20 * S.toolspeed))
|
||||
if(opened) //ChompEDIT - cancel weld if opened mid-progress to prevent welder-traps
|
||||
return //ChompEDIT
|
||||
playsound(src, S.usesound, 50)
|
||||
sealed = !sealed
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user