Removed a lot of rubbish from the server

This commit is contained in:
Kayne Ruse
2013-11-02 19:00:08 +11:00
parent 2bd8adaf69
commit 54cd26b76f
17 changed files with 25 additions and 632 deletions
+4 -3
View File
@@ -31,9 +31,10 @@ using namespace std;
int main(int argc, char** argv) {
cout << "Beginning server" << endl;
try {
ServerApplication::GetInstance()->Init(argc, argv);
ServerApplication::GetInstance()->Loop();
ServerApplication::GetInstance()->Quit();
ServerApplication app;
app.Init(argc, argv);
app.Loop();
app.Quit();
}
catch(exception& e) {
cerr << "Fatal error: " << e.what() << endl;