From e3ed1c3781d78b64ee28b1203212963c19e96af4 Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Mon, 16 Jun 2014 23:01:41 -0400 Subject: [PATCH] Removed a lot of the useless testing and error logging from the runtime log. --- code/_hooks/hooks.dm | 2 +- code/controllers/_DynamicAreaLighting_TG.dm | 2 +- code/game/dna/dna2_domutcheck.dm | 4 ++-- code/game/gamemodes/setupgame.dm | 2 +- code/modules/customitems/item_spawning.dm | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/_hooks/hooks.dm b/code/_hooks/hooks.dm index 51aea802165..08a1ab35a13 100644 --- a/code/_hooks/hooks.dm +++ b/code/_hooks/hooks.dm @@ -32,7 +32,7 @@ var/global/list/hooks = list() for (var/hook_path in typesof(/hook)) var/hook/hook = new hook_path hooks[hook.name] = hook - world.log << "Found hook: " + hook.name +// world.log << "Found hook: " + hook.name for (var/hook_path in typesof(/hook_handler)) var/hook_handler/hook_handler = new hook_path for (var/name in hooks) diff --git a/code/controllers/_DynamicAreaLighting_TG.dm b/code/controllers/_DynamicAreaLighting_TG.dm index fde5b841345..fb271fafb08 100644 --- a/code/controllers/_DynamicAreaLighting_TG.dm +++ b/code/controllers/_DynamicAreaLighting_TG.dm @@ -135,7 +135,7 @@ turf/New() if(opacity) UpdateAffectingLights() if(luminosity) - world.log << "[type] has luminosity at New()" +// world.log << "[type] has luminosity at New()" if(light) world.log << "## WARNING: [type] - Don't set lights up manually during New(), We do it automatically." light = new(src) diff --git a/code/game/dna/dna2_domutcheck.dm b/code/game/dna/dna2_domutcheck.dm index 02495bbc490..885b106a35d 100644 --- a/code/game/dna/dna2_domutcheck.dm +++ b/code/game/dna/dna2_domutcheck.dm @@ -29,14 +29,14 @@ if(changed) // Gene active (or ALWAYS ACTIVATE) if(gene_active || (gene.flags & GENE_ALWAYS_ACTIVATE)) - testing("[gene.name] activated!") +// testing("[gene.name] activated!") gene.activate(M,connected,flags) if(M) M.active_genes |= gene.type M.update_icon = 1 // If Gene is NOT active: else - testing("[gene.name] deactivated!") +// testing("[gene.name] deactivated!") gene.deactivate(M,connected,flags) if(M) M.active_genes -= gene.type diff --git a/code/game/gamemodes/setupgame.dm b/code/game/gamemodes/setupgame.dm index 7a5408dce14..722d8fe05d5 100644 --- a/code/game/gamemodes/setupgame.dm +++ b/code/game/gamemodes/setupgame.dm @@ -11,7 +11,7 @@ assigned_blocks[assigned]=name dna_activity_bounds[assigned]=activity_bounds //Debug message_admins("[name] assigned to block #[assigned].") - testing("[name] assigned to block #[assigned].") +// testing("[name] assigned to block #[assigned].") return assigned /proc/setupgenetics() diff --git a/code/modules/customitems/item_spawning.dm b/code/modules/customitems/item_spawning.dm index 41764f87c7e..cdb1f6b7fa2 100644 --- a/code/modules/customitems/item_spawning.dm +++ b/code/modules/customitems/item_spawning.dm @@ -14,7 +14,7 @@ M.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(M), slot_shoes) /proc/EquipCustomItems(mob/living/carbon/human/M) - testing("\[CustomItem\] Checking for custom items for [M.ckey] ([M.real_name])...") +// testing("\[CustomItem\] Checking for custom items for [M.ckey] ([M.real_name])...") if(!establish_db_connection()) return