Removes some unneeded debug logs (#3070)

Removes some unneeded debug logs.
This commit is contained in:
Ron
2017-07-16 21:57:52 +03:00
committed by skull132
parent 147b37c07a
commit ef582313d1
4 changed files with 3 additions and 11 deletions
-2
View File
@@ -38,7 +38,6 @@
if (!shuttle.location)
return
log_debug("SSarrivals: [M] has entered arrival shuttle hotzone.")
if (istype(M))
current_mobs += SOFTREF(M)
@@ -50,7 +49,6 @@
/datum/controller/subsystem/arrivals/proc/on_hotzone_exit(mob/living/M)
current_mobs -= SOFTREF(M)
log_debug("SSarrivals: [M] has exited arrival shuttle hotzone.")
//called when the shuttle has arrived.
@@ -43,7 +43,8 @@ var/datum/controller/subsystem/processing/shuttle/shuttle_controller
//shuttle.dock_target_station = "cargo_bay"
shuttles["Escape"] = shuttle
START_PROCESSING(shuttle_controller, shuttle)
log_debug("Escape shuttle [shuttle ? "exists." : "DOES NOT EXIST!"]")
if(!shuttle)
log_debug("Escape shuttle does not exist!")
shuttle = new/datum/shuttle/ferry/escape_pod()
shuttle.location = 0
-7
View File
@@ -72,7 +72,6 @@
action_start_time = world.time
//Spawn the stage 1 pistons south of it with a density of 0
log_debug("Spawning Crusher Piston Stage")
pstn = new(get_step(src, SOUTH))
pstn.crs_base = src
@@ -213,7 +212,6 @@
action = "idle"
initial = 1
visible_message("The hydraulic pump in [src] spins faster and shuts down a few moments later.","You hear a pump spinning faster and then shutting down.")
log_debug("Cant extend piston 0-1 - Continue idling")
if(timediff > time_stage_1)
status = "stage1"
action_start_time = world.time
@@ -231,7 +229,6 @@
action = "idle"
blocked = 1
visible_message("The hydraulic pump in [src] spins faster and shuts down a few moments later.","You hear a pump spinning faster and then shutting down.")
log_debug("cant extend piston 1-2 - Blocked")
if(timediff > time_stage_2)
status = "stage2"
action_start_time = world.time
@@ -249,7 +246,6 @@
action = "idle"
blocked = 1
visible_message("The hydraulic pump in [src] spins faster and shuts down a few moments later.","You hear a pump spinning faster and then shutting down.")
log_debug("cant extend piston 2-3 - Blocked")
if(timediff > time_stage_3)
status = "stage3"
action_start_time = world.time
@@ -412,7 +408,6 @@
use_power(5 KILOWATTS)
var/turf/T = get_turf(src)
if(!can_extend_into(T))
log_debug("cant extend 0-1 - Abort")
return 0
icon_state="piston_0_1"
stage = 1
@@ -426,7 +421,6 @@
var/turf/T = get_turf(pb1)
var/turf/extension_turf = get_step(T,SOUTH)
if(!can_extend_into(extension_turf))
log_debug("cant extend 1-2 - Abort")
return 0
icon_state="piston_1_2"
stage = 2
@@ -440,7 +434,6 @@
var/turf/T = get_turf(pb2)
var/turf/extension_turf = get_step(T,SOUTH)
if(!can_extend_into(extension_turf))
log_debug("cant extend 2-3 - Abort")
return 0
icon_state="piston_2_3"
stage = 3
+1 -1
View File
@@ -37,7 +37,7 @@
/datum/reagent/proc/remove_self(var/amount) // Shortcut
if (!holder)
PROCLOG_WEIRD("Null holder found. Name: [name], id: [id]")
//PROCLOG_WEIRD("Null holder found. Name: [name], id: [id]")
return
holder.remove_reagent(id, amount)