sigh
This commit is contained in:
@@ -57,7 +57,16 @@
|
||||
. = ..()
|
||||
check_setup()
|
||||
|
||||
/obj/machinery/shuttle/engine/Destroy()
|
||||
attached_heater = FALSE
|
||||
thruster_active = FALSE
|
||||
return ..()
|
||||
|
||||
/obj/machinery/shuttle/engine/proc/check_setup()
|
||||
if(!anchored)
|
||||
attached_heater = null
|
||||
update_engine()
|
||||
return
|
||||
var/heater_turf
|
||||
switch(dir)
|
||||
if(NORTH)
|
||||
@@ -124,15 +133,6 @@
|
||||
env.temperature += deltaTemperature
|
||||
air_update_turf()
|
||||
|
||||
/obj/machinery/shuttle/engine/attackby(obj/item/I, mob/living/user, params)
|
||||
check_setup()
|
||||
if(default_deconstruction_screwdriver(user, icon_state_open, icon_state_closed, I))
|
||||
return
|
||||
if(default_pry_open(I))
|
||||
return
|
||||
if(panel_open)
|
||||
if(default_change_direction_wrench(user, I))
|
||||
return
|
||||
if(default_deconstruction_crowbar(I))
|
||||
return
|
||||
return ..()
|
||||
/obj/machinery/shuttle/engine/default_change_direction_wrench(mob/user, obj/item/I)
|
||||
. = ..()
|
||||
update_engine()
|
||||
|
||||
Reference in New Issue
Block a user