From c01bc7fe2d6e29755c6295da04b459d472805c5b Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Tue, 1 Feb 2022 15:21:23 +0000 Subject: [PATCH] Update startreader.dm --- .../subtypes/animal/alien animals/startreader.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm index b77d55a2c82..b8efeef4357 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm @@ -109,12 +109,11 @@ destructive = TRUE violent_breakthrough = TRUE -/mob/living/simple_mob/vore/alienanimals/startreader/apply_melee_effects(var/atom/A) - if(weakened) //Don't stun people while they're already stunned! That's SILLY! +/mob/living/simple_mob/vore/alienanimals/startreader/apply_melee_effects(mob/living/L) + if(L.weakened) //Don't stun people while they're already stunned! That's SILLY! return if(prob(15)) - var/mob/living/L = A - if(isliving(A)) + if(isliving(L)) visible_message("\The [src] trips \the [L]!!") L.weakened += rand(1,10)