Tick client more frequently and remove *pyc files from git

This commit is contained in:
Simon Robertshaw 2012-08-17 17:20:09 +01:00
parent 02f98ddbe9
commit 706bd0fa97
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -37,3 +37,5 @@ config.log
*.sconf_temp *.sconf_temp
*.gch *.gch
*.pyc *.pyc
site_scons/site_tools/mfprogram/*.pyc
site_scons/site_tools/gch/*.pyc

View File

@ -531,7 +531,7 @@ int main(int argc, char * argv[])
engine->Tick(); engine->Tick();
engine->Draw(); engine->Draw();
if(SDL_GetTicks()-lastTick>500) if(SDL_GetTicks()-lastTick>250)
{ {
//Run client tick every second //Run client tick every second
lastTick = SDL_GetTicks(); lastTick = SDL_GetTicks();