From 8981b491e074046bf3b7c81f0a6d00c6a77d0e44 Mon Sep 17 00:00:00 2001 From: dj-34 Date: Tue, 26 Mar 2024 14:56:11 +0500 Subject: [PATCH] Fix: Necropolis gate is now opens when Legion takes damage (#24768) * Fix: Legion now triggers when taking damage * Update by review Co-Authored-By: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --- .../mob/living/simple_animal/hostile/megafauna/legion.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm index e31d3b1e61a..0b81dff02c9 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm @@ -196,6 +196,8 @@ Difficulty: Medium . = ..() if(QDELETED(src)) return + if(GLOB.necropolis_gate && !GLOB.necropolis_gate.open) + GLOB.necropolis_gate.toggle_the_gate(src) if(.) var/matrix/M = new resize = (enraged ? 0.33 : 1) + (health / maxHealth)