From ca86dc5fb8b1b94c40bf1e1077059dfa042d79fe Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 23 Nov 2013 01:25:49 +1100 Subject: [PATCH] Added a delay, to give the machine a rest --- server/server_application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/server_application.cpp b/server/server_application.cpp index f35e50a..3f12b1f 100644 --- a/server/server_application.cpp +++ b/server/server_application.cpp @@ -136,6 +136,9 @@ void ServerApplication::Loop() { cerr << "Network Error: " << e.what() << endl; } }; + + //give the computer a break + SDL_Delay(10); } }