summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-17 16:20:09 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-17 16:20:09 (GMT)
commit706bd0fa97b5f3da67d44f570a18f9f45ae4fad7 (patch)
tree01a35c59a44bb1e0fa3e49e09dbcfdf25ce4c888
parent02f98ddbe9d49ff67af5364699bc0ca8daaad8ca (diff)
downloadpowder-706bd0fa97b5f3da67d44f570a18f9f45ae4fad7.zip
powder-706bd0fa97b5f3da67d44f570a18f9f45ae4fad7.tar.gz
Tick client more frequently and remove *pyc files from git
-rw-r--r--.gitignore2
-rw-r--r--src/PowderToySDL.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index cf76a23..cba39f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,5 @@ config.log
*.sconf_temp
*.gch
*.pyc
+site_scons/site_tools/mfprogram/*.pyc
+site_scons/site_tools/gch/*.pyc \ No newline at end of file
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp
index 3b8aeab..0a331f5 100644
--- a/src/PowderToySDL.cpp
+++ b/src/PowderToySDL.cpp
@@ -531,7 +531,7 @@ int main(int argc, char * argv[])
engine->Tick();
engine->Draw();
- if(SDL_GetTicks()-lastTick>500)
+ if(SDL_GetTicks()-lastTick>250)
{
//Run client tick every second
lastTick = SDL_GetTicks();