flips the light switch direction for building on diagonals (#31223)

This commit is contained in:
1080pCat
2025-12-18 09:31:09 +00:00
committed by GitHub
parent 2768d6da0a
commit 1e86d30353
2 changed files with 5 additions and 5 deletions
@@ -21,7 +21,7 @@
metal_sheets_refunded = 1
/obj/item/mounted/frame/light_switch/do_build(turf/on_wall, mob/user)
new /obj/machinery/light_switch(get_turf(user), get_dir(user, on_wall))
new /obj/machinery/light_switch(get_turf(user), get_dir(on_wall, user))
qdel(src)
/obj/item/mounted/frame/light_switch/windowtint