Tick client more frequently and remove *pyc files from git
This commit is contained in:
parent
02f98ddbe9
commit
706bd0fa97
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user