Skip to content

Commit

Permalink
issue tick event only if elapsedtime > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
pisto committed Sep 19, 2014
1 parent d130ea0 commit 5724545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ void serverslice(bool dedicated, uint timeout) // main server update, called f
totalmillis = millis;
updatetime();
}
spaghetti::simpleconstevent(spaghetti::hotstring::tick);
if(elapsedtime) spaghetti::simpleconstevent(spaghetti::hotstring::tick);
server::serverupdate();

flushmasteroutput();
Expand Down

0 comments on commit 5724545

Please sign in to comment.