mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Makes the turbine core part remove references on deactivation (#80593)
## About The Pull Request The delete the world test was showing that the turbine's non-core parts, the compressor and outlet were causing runtimes, so I made the deactivation of the core remove the references from the secondary turbine parts ## Why It's Good For The Game Less harddels means less lag, hopefully No changelog since nothing player facing
This commit is contained in:
@@ -512,7 +512,9 @@
|
||||
/obj/machinery/power/turbine/core_rotor/deactivate_parts()
|
||||
if(all_parts_connected)
|
||||
power_off()
|
||||
compressor?.rotor = null
|
||||
compressor = null
|
||||
turbine?.rotor = null
|
||||
turbine = null
|
||||
all_parts_connected = FALSE
|
||||
disconnect_from_network()
|
||||
|
||||
Reference in New Issue
Block a user