mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Moved mode check in welder act up (#15746)
Co-authored-by: Erwin Boot <E.boot@student.han.nl>
This commit is contained in:
@@ -164,9 +164,9 @@
|
||||
to_chat(user, "You [mode ? "unfasten": "fasten"] the screws around the power connection.")
|
||||
|
||||
/obj/machinery/disposal/welder_act(mob/user, obj/item/I)
|
||||
. = TRUE
|
||||
if(mode != required_mode_to_deconstruct)
|
||||
return
|
||||
. = TRUE
|
||||
if(contents.len > 0)
|
||||
to_chat(user, "Eject the items first!")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user