Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kbengine committed May 8, 2015
1 parent dc48c5f commit 162eb34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kbe/src/lib/server/script_timers.cpp
Expand Up @@ -73,8 +73,7 @@ ScriptID ScriptTimers::addTimer( float initialOffset,
KBE_ASSERT( g_pApp );

int hertz = g_kbeSrvConfig.gameUpdateHertz();
int initialTicks = GameTime( g_pApp->time() +
initialOffset * hertz );
int initialTicks = GameTime( g_pApp->time() + initialOffset * hertz );
int repeatTicks = 0;

if (repeatOffset > 0.f)
Expand Down

0 comments on commit 162eb34

Please sign in to comment.