mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
Converts more dir assignments to setDir (#40023)
This commit is contained in:
committed by
vuonojenmustaturska
parent
4c61996455
commit
451d35c9c9
@@ -619,7 +619,7 @@ RLD
|
||||
var/light = get_turf(winner)
|
||||
var/align = get_dir(winner, A)
|
||||
var/obj/machinery/light/L = new /obj/machinery/light(light)
|
||||
L.dir = align
|
||||
L.setDir(align)
|
||||
L.color = color_choice
|
||||
L.light_color = L.color
|
||||
return TRUE
|
||||
|
||||
@@ -438,10 +438,10 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
|
||||
|
||||
else
|
||||
var/obj/structure/c_transit_tube/tube = new queued_p_type(A)
|
||||
tube.dir = queued_p_dir
|
||||
tube.setDir(queued_p_dir)
|
||||
|
||||
if(queued_p_flipped)
|
||||
tube.dir = turn(queued_p_dir, 45)
|
||||
tube.setDir(turn(queued_p_dir, 45))
|
||||
tube.simple_rotate_flip()
|
||||
|
||||
tube.add_fingerprint(usr)
|
||||
|
||||
Reference in New Issue
Block a user