From daa703ac73afaa4589427668e4d82b92df33c3d9 Mon Sep 17 00:00:00 2001 From: Casey Date: Tue, 1 Feb 2022 14:49:13 -0500 Subject: [PATCH] Merge pull request #12140 from KillianKirilenko/kk-test Startreader Stunlocks Begone --- .../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 62184b86c2..4fdaa364ad 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)