diff --git a/code/game/machinery/floodlight.dm b/code/game/machinery/floodlight.dm index 6bb1f59537b0..707ca5bde409 100644 --- a/code/game/machinery/floodlight.dm +++ b/code/game/machinery/floodlight.dm @@ -71,6 +71,9 @@ if(cell.charge <= 0) to_chat(user, "[src] hardly glows at all! Seems like the power cell is empty.") return + if(!anchored) + to_chat(user, "[src] must be anchored first!") + return on = TRUE to_chat(user, "You turn on the light.") set_light(brightness_on) @@ -140,6 +143,8 @@ . = TRUE if(!I.tool_use_check(user, 0)) return + if(anchored) + extinguish_light() default_unfasten_wrench(user, I) /obj/machinery/floodlight/extinguish_light(force = FALSE)