mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
fix pipedispenser dispensing broken pipes (#63682)
assigned the p_init_dir variable to ALL_DIRECTIONS when a pipe dispenser creates a normal pipe. Otherwise the pipe will have SOUTH as its p_init_dir, creating a broken smart pipe.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
return
|
||||
var/p_dir = text2num(href_list["dir"])
|
||||
var/obj/item/pipe/P = new (loc, p_type, p_dir)
|
||||
P.p_init_dir = ALL_CARDINALS
|
||||
P.set_piping_layer(piping_layer)
|
||||
P.add_fingerprint(usr)
|
||||
wait = world.time + 10
|
||||
|
||||
Reference in New Issue
Block a user