diff --git a/code/modules/power/singularity/emitter.dm b/code/modules/power/singularity/emitter.dm index 76a93b771b7..0ae1d7fc488 100644 --- a/code/modules/power/singularity/emitter.dm +++ b/code/modules/power/singularity/emitter.dm @@ -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 << "[src] is welded to the floor!" 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)