Commit 57a2f678 authored by mercury233's avatar mercury233

update loading databases

parent f6803f7c
......@@ -41,7 +41,6 @@ unsigned char draw_count;
void Game::MainServerLoop(int bDuel_mode, int lflist) {
deckManager.LoadLFList();
dataManager.LoadDB("cards.cdb");
//load expansions
DIR * dir;
......@@ -61,6 +60,8 @@ void Game::MainServerLoop(int bDuel_mode, int lflist) {
closedir(dir);
}
dataManager.LoadDB("cards.cdb");
aServerPort = NetServer::StartServer(aServerPort);
NetServer::Initduel(bDuel_mode, lflist);
printf("%u\n", aServerPort);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment