From ee9c12e34982d0ec0d606cb000c63adbc1f5b3ab Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 22 Sep 2020 07:21:08 +0200 Subject: [PATCH] [MIRROR] [s] Don't allow sentient ice demons to teleport (#911) * Don't allow sentient ice demons to teleport (#53888) If you know, you know. I think this affects more than just teleporting, but hm. * [s] Don't allow sentient ice demons to teleport Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com> --- .../mob/living/simple_animal/hostile/mining_mobs/ice demon.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/ice demon.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/ice demon.dm index bc36008ed2a..c8ddcef5d3e 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/ice demon.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/ice demon.dm @@ -50,6 +50,9 @@ temperature = -75 /mob/living/simple_animal/hostile/asteroid/ice_demon/OpenFire() + // Sentient ice demons teleporting has been linked to server crashes + if(client) + return ..() if(teleport_distance <= 0) return ..() var/list/possible_ends = list()