Skip to content

Commit

Permalink
Sped up time animation
Browse files Browse the repository at this point in the history
It's kinda jerky after ScheduleTask, I guess even a one tick delay isn't
enough.
  • Loading branch information
tigerw committed Mar 9, 2014
1 parent 3f8e91e commit 013a32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions time.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ function HandleTimeCommand( Split, Player )
end

local AnimationForward = true
local AnimationSpeed = 60
local AnimationSpeed = 480

if CurrentTime > TimeToSet then
AnimationForward = false
AnimationSpeed = -60
AnimationSpeed = -480
end

local function DoAnimation()
Expand Down

0 comments on commit 013a32a

Please sign in to comment.