diff --git a/code/__HELPERS/_logging.dm b/code/__HELPERS/_logging.dm index b6f7407e3fc..9b89a666c88 100644 --- a/code/__HELPERS/_logging.dm +++ b/code/__HELPERS/_logging.dm @@ -8,10 +8,11 @@ /proc/notice(msg) world.log << "## NOTICE: [msg]" -//print a testing-mode debug message to world.log -/proc/testing(msg) +//print a testing-mode debug message to world.log and world #ifdef TESTING - world.log << "## TESTING: [msg]" +#define testing(msg) world.log << "## TESTING: [msg]"; world << "## TESTING: [msg]" +#else +#define testing(msg) #endif /proc/log_admin(text) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 10dac928a7b..76d1757fd0f 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -710,7 +710,6 @@ var/list/admin_verbs_hideable = list( var/list/candidates var/turf/open/floor/tile var/j,k - var/mob/living/carbon/human/mob for (var/i = 1 to amount) j = 100 @@ -730,9 +729,8 @@ var/list/admin_verbs_hideable = list( while ((!tile || !istype(tile)) && --k > 0) if (tile) - mob = new/mob/living/carbon/human/interactive(tile) - - testing("Spawned test mob with name \"[mob.name]\" at [tile.x],[tile.y],[tile.z]") + new/mob/living/carbon/human/interactive(tile) + testing("Spawned test mob at [tile.x],[tile.y],[tile.z]") while (!area && --j > 0) /client/proc/toggle_AI_interact()