diff --git a/code/game/objects/items/rcd/RLD.dm b/code/game/objects/items/rcd/RLD.dm index 0a038ebc650..5e3cf374c1c 100644 --- a/code/game/objects/items/rcd/RLD.dm +++ b/code/game/objects/items/rcd/RLD.dm @@ -175,6 +175,7 @@ L.setDir(get_dir(winner, interacting_with)) L.color = color_choice L.set_light_color(color_choice) + L.find_and_mount_on_atom() useResource(cost, user) return ITEM_INTERACT_SUCCESS @@ -185,6 +186,7 @@ var/obj/machinery/light/floor/FL = new /obj/machinery/light/floor(target) FL.color = color_choice FL.set_light_color(color_choice) + FL.find_and_mount_on_atom() useResource(cost, user) return ITEM_INTERACT_SUCCESS diff --git a/code/modules/power/lighting/light_construct.dm b/code/modules/power/lighting/light_construct.dm index 869196b3205..9832c3a3140 100644 --- a/code/modules/power/lighting/light_construct.dm +++ b/code/modules/power/lighting/light_construct.dm @@ -184,3 +184,9 @@ icon_state = "floor-construct-stage1" fixture_type = "floor" sheets_refunded = 1 + +/obj/structure/light_construct/floor/get_turfs_to_mount_on() + return list(get_turf(src)) + +/obj/structure/light_construct/floor/is_mountable_turf(turf/target) + return !isgroundlessturf(target)