Added a delay, to give the machine a rest
This commit is contained in:
@@ -136,6 +136,9 @@ void ServerApplication::Loop() {
|
|||||||
cerr << "Network Error: " << e.what() << endl;
|
cerr << "Network Error: " << e.what() << endl;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//give the computer a break
|
||||||
|
SDL_Delay(10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user