From b6e60a6b7802fa2ea048fbb7aa70895808c48a99 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 8 Feb 2023 03:41:21 +0100 Subject: [PATCH] [MIRROR] Fixes bluespace golems teleporting without cooldown [MDB IGNORE] (#19117) * Fixes bluespace golems teleporting without cooldown (#73130) ## About The Pull Request Bluespace golems now have cooldown on their unstable teleport ability. It will start when they do the teleport itself rather then just clicking the action, so spamming the action button to get teleported many times into random points of the station is still here(it is funny and it will be cool to keep it as a feature). ## Why It's Good For The Game Bugfix ## Changelog :cl: fix: Bluespace golems no longer can teleport without cooldown /:cl: * Fixes bluespace golems teleporting without cooldown --------- Co-authored-by: SuperSlayer <91609255+SuperSlayer0@users.noreply.github.com> --- code/modules/mob/living/carbon/human/species_types/golems.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/carbon/human/species_types/golems.dm b/code/modules/mob/living/carbon/human/species_types/golems.dm index 5b1a6d96cb5..4ade9bff05e 100644 --- a/code/modules/mob/living/carbon/human/species_types/golems.dm +++ b/code/modules/mob/living/carbon/human/species_types/golems.dm @@ -556,6 +556,7 @@ return TRUE /datum/action/cooldown/unstable_teleport/proc/teleport(mob/living/carbon/human/H) + StartCooldown() H.visible_message(span_warning("[H] disappears in a shower of sparks!"), span_danger("You teleport!")) var/datum/effect_system/spark_spread/spark_system = new /datum/effect_system/spark_spread spark_system.set_up(10, 0, src)