mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fixes emitter unsecuring
This commit is contained in:
@@ -204,13 +204,13 @@
|
||||
A.starting = loc
|
||||
A.fire()
|
||||
|
||||
/obj/machinery/field/generator/can_be_unfasten_wrench(mob/user)
|
||||
/obj/machinery/power/emitter/can_be_unfasten_wrench(mob/user)
|
||||
if(state == EM_WELDED)
|
||||
user << "<span class='warning'>[src] is welded to the floor!</span>"
|
||||
return FAILED_UNFASTEN
|
||||
return ..()
|
||||
|
||||
/obj/machinery/field/generator/default_unfasten_wrench(mob/user, obj/item/weapon/wrench/W, time = 20)
|
||||
/obj/machinery/power/emitter/default_unfasten_wrench(mob/user, obj/item/weapon/wrench/W, time = 20)
|
||||
. = ..()
|
||||
if(. == SUCCESSFUL_UNFASTEN)
|
||||
if(anchored)
|
||||
|
||||
Reference in New Issue
Block a user