Wrenching times no longer runtime.

Fixes #9175.
This commit is contained in:
PsiOmega
2015-06-28 18:17:53 +02:00
parent 6a808e5394
commit 85d0d6fcd3
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,9 @@ Pipelines + Other Objects -> Pipe network
*/
/obj/machinery/atmospherics
auto_init = 0
anchored = 1
idle_power_usage = 0
active_power_usage = 0
@@ -87,7 +90,7 @@ obj/machinery/atmospherics/proc/check_connect_types(obj/machinery/atmospherics/a
/obj/machinery/atmospherics/process()
last_flow_rate = 0
last_power_draw = 0
build_network()
/obj/machinery/atmospherics/proc/network_expand(datum/pipe_network/new_network, obj/machinery/atmospherics/pipe/reference)

View File

@@ -14,9 +14,11 @@
var/moved_recently = 0
var/mob/pulledby = null
var/auto_init = 1
/atom/movable/New()
..()
if(ticker && ticker.current_state == GAME_STATE_PLAYING)
if(auto_init && ticker && ticker.current_state == GAME_STATE_PLAYING)
initialize()
/atom/movable/Del()