diff --git a/server/gameserver/main.cc b/server/gameserver/main.cc index 425c51c1..f8b89104 100644 --- a/server/gameserver/main.cc +++ b/server/gameserver/main.cc @@ -1,14 +1,10 @@ #include "precompile.h" + +#include + #include "app.h" int main(int argc, char* argv[]) { - int exitcode = 0; - #if 0 - if (App::Instance()->Init(argc, argv)) { - exitcode = App::Instance()->Run(); - App::Instance()->UnInit(); - } - #endif - return exitcode; + return f8::App::Instance()->Run(argc, argv, App::Instance()); }