From 5d9f369d3e380fe4436ad71fbe8e580c9f45e4db Mon Sep 17 00:00:00 2001 From: moxian Date: Mon, 30 May 2022 11:30:46 +0000 Subject: [PATCH] Smoothen the camera for orbiters (#17898) --- code/datums/components/orbiter.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/components/orbiter.dm b/code/datums/components/orbiter.dm index c7524d81d4d..3c78a2f39d3 100644 --- a/code/datums/components/orbiter.dm +++ b/code/datums/components/orbiter.dm @@ -145,6 +145,7 @@ orbiter.loc = target_loc // Setting loc directly doesn't fire COMSIG_MOVABLE_MOVED, so we need to do it ourselves SEND_SIGNAL(orbiter, COMSIG_MOVABLE_MOVED, current_loc, target_loc, null) + orbiter.animate_movement = SYNC_STEPS /** * End the orbit and clean up our transformation. @@ -158,6 +159,7 @@ return if(orbiter) + orbiter.animate_movement = SLIDE_STEPS if(!QDELETED(parent)) SEND_SIGNAL(parent, COMSIG_ATOM_ORBIT_STOP, orbiter)