From 8335d9958edb2fec5b33267edbf5025427b71d1d Mon Sep 17 00:00:00 2001 From: Luc <89928798+lewcc@users.noreply.github.com> Date: Wed, 21 Feb 2024 04:10:31 -0500 Subject: [PATCH] Makes floorlights only toggleable in help intent (#24135) --- code/game/turfs/simulated/floor/light_floor.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/turfs/simulated/floor/light_floor.dm b/code/game/turfs/simulated/floor/light_floor.dm index dcbf61dbdab2..d3090e85ebc3 100644 --- a/code/game/turfs/simulated/floor/light_floor.dm +++ b/code/game/turfs/simulated/floor/light_floor.dm @@ -47,6 +47,8 @@ /turf/simulated/floor/light/attack_hand(mob/user) if(!can_modify_colour) return + if(user.a_intent != INTENT_HELP) + return toggle_light(!on) /turf/simulated/floor/light/attackby(obj/item/C, mob/user, params)