Skip to content

Commit

Permalink
[MIRROR] fixed not being able to teleport objects sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
MuckerMayhem authored and LordNest committed Feb 27, 2024
1 parent dbcdfaa commit 6258189
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion maps/sierra/sierra_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions maps/torch/torch_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6258189

Please sign in to comment.