From 625818911d884469b391e405c665140d2eb6c5a7 Mon Sep 17 00:00:00 2001 From: MuckerMayhem <1161516+MuckerMayhem@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:21:00 +0300 Subject: [PATCH] [MIRROR] fixed not being able to teleport objects sometimes --- maps/sierra/sierra_procs.dm | 3 ++- maps/torch/torch_procs.dm | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/maps/sierra/sierra_procs.dm b/maps/sierra/sierra_procs.dm index b27763a0ce05d..0e286ffd434b5 100644 --- a/maps/sierra/sierra_procs.dm +++ b/maps/sierra/sierra_procs.dm @@ -42,7 +42,8 @@ if (isliving(target)) to_chat(target, FONT_LARGE(SPAN_WARNING("Your vision goes blurry and nausea strikes your stomach. Where are you...?"))) - do_teleport(target, T, precision, type) + do_teleport(target, T, precision, type) + if (destination) addtimer(new Callback(GLOBAL_PROC, /proc/do_teleport, target, destination), duration) /datum/map/bolt_saferooms() diff --git a/maps/torch/torch_procs.dm b/maps/torch/torch_procs.dm index 55e58b6ef01b6..df65170495451 100644 --- a/maps/torch/torch_procs.dm +++ b/maps/torch/torch_procs.dm @@ -92,6 +92,6 @@ if (isliving(target)) to_chat(target, FONT_LARGE(SPAN_WARNING("Your vision goes blurry and nausea strikes your stomach. Where are you...?"))) - do_teleport(target, T, precision, type) - if (destination) - addtimer(new Callback(GLOBAL_PROC, /proc/do_teleport, target, destination), duration) + do_teleport(target, T, precision, type) + if (destination) + addtimer(new Callback(GLOBAL_PROC, /proc/do_teleport, target, destination), duration)