mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] modules/atmospherics major cleanup [MDB IGNORE] (#8818)
* modules/atmospherics major cleanup * E * E * 0 Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Ghilker
Gandalf
parent
d6e6f2df2f
commit
230a34588f
@@ -259,20 +259,20 @@ All ShuttleMove procs go here
|
||||
break
|
||||
|
||||
if(!connected)
|
||||
nullifyNode(i)
|
||||
nullify_node(i)
|
||||
|
||||
if(!nodes[i])
|
||||
missing_nodes = TRUE
|
||||
|
||||
if(missing_nodes)
|
||||
atmosinit()
|
||||
atmos_init()
|
||||
for(var/obj/machinery/atmospherics/A in pipeline_expansion())
|
||||
A.atmosinit()
|
||||
if(A.returnPipenet())
|
||||
A.addMember(src)
|
||||
A.atmos_init()
|
||||
if(A.return_pipenet())
|
||||
A.add_member(src)
|
||||
SSair.add_to_rebuild_queue(src)
|
||||
else
|
||||
// atmosinit() calls update_appearance(), so we don't need to call it
|
||||
// atmos_init() calls update_appearance(), so we don't need to call it
|
||||
update_appearance()
|
||||
|
||||
/obj/machinery/navbeacon/beforeShuttleMove(turf/newT, rotation, move_mode, obj/docking_port/mobile/moving_dock)
|
||||
|
||||
@@ -80,13 +80,13 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate
|
||||
/************************************Machine rotate procs************************************/
|
||||
|
||||
/obj/machinery/atmospherics/shuttleRotate(rotation, params)
|
||||
var/list/real_node_connect = getNodeConnects()
|
||||
var/list/real_node_connect = get_node_connects()
|
||||
for(var/i in 1 to device_type)
|
||||
real_node_connect[i] = angle2dir(rotation+dir2angle(real_node_connect[i]))
|
||||
|
||||
. = ..()
|
||||
SetInitDirections()
|
||||
var/list/supposed_node_connect = getNodeConnects()
|
||||
set_init_directions()
|
||||
var/list/supposed_node_connect = get_node_connects()
|
||||
var/list/nodes_copy = nodes.Copy()
|
||||
|
||||
for(var/i in 1 to device_type)
|
||||
|
||||
Reference in New Issue
Block a user