From 117f27273dffa6bff4fbc1399c225e4de83bb39a Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Tue, 24 Apr 2012 21:24:48 +0100 Subject: [PATCH] TG: Removed Karma. It was a shitty system used to punish security for doing their jobs even when it worked, and now it just spits runtimes. Better defined the viewers in range of the vent crawl to hopefully stop the runtimes that was causing. --- code/modules/mob/living/carbon/alien/larva/powers.dm | 6 +++--- code/modules/mob/living/carbon/monkey/powers.dm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/alien/larva/powers.dm b/code/modules/mob/living/carbon/alien/larva/powers.dm index 19bf6c551af..0f632a380be 100644 --- a/code/modules/mob/living/carbon/alien/larva/powers.dm +++ b/code/modules/mob/living/carbon/alien/larva/powers.dm @@ -31,7 +31,7 @@ if(loc==startloc) var/obj/target_vent = vents[selection_position] if(target_vent) - for(var/mob/O in oviewers()) + for(var/mob/O in oviewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("[src] scrambles into the ventillation ducts!"), 1) loc = target_vent.loc @@ -51,12 +51,12 @@ if (layer != TURF_LAYER+0.2) layer = TURF_LAYER+0.2 src << text("\green You are now hiding.") - for(var/mob/O in oviewers()) + for(var/mob/O in oviewers(src, null)) if ((O.client && !( O.blinded ))) O << text("[] scurries to the ground!", src) else layer = MOB_LAYER src << text("\green You have stopped hiding.") - for(var/mob/O in oviewers()) + for(var/mob/O in oviewers(src, null)) if ((O.client && !( O.blinded ))) O << text("[] slowly peaks up from the ground...", src) \ No newline at end of file diff --git a/code/modules/mob/living/carbon/monkey/powers.dm b/code/modules/mob/living/carbon/monkey/powers.dm index de860667e9c..e05cb05de20 100644 --- a/code/modules/mob/living/carbon/monkey/powers.dm +++ b/code/modules/mob/living/carbon/monkey/powers.dm @@ -35,7 +35,7 @@ if(loc==startloc) var/obj/target_vent = vents[selection_position] if(target_vent) - for(var/mob/O in oviewers()) + for(var/mob/O in oviewers(src, null)) if ((O.client && !( O.blinded ))) O.show_message(text("[src] scrambles into the ventillation ducts!"), 1) loc = target_vent.loc