QTfrontend/hwform.cpp
changeset 657 b34fc518a48a
parent 654 1019b8fa8638
child 658 a7e625f5d9d0
equal deleted inserted replaced
656:6d6d9d7b1054 657:b34fc518a48a
   424 	}
   424 	}
   425 }
   425 }
   426 
   426 
   427 void HWForm::NetStartServer()
   427 void HWForm::NetStartServer()
   428 {
   428 {
       
   429   config->SaveOptions();
   429   pnetserver = new HWNetServer;
   430   pnetserver = new HWNetServer;
   430   pnetserver->StartServer();
   431   pnetserver->StartServer();
   431   _NetConnect("localhost", pnetserver->getRunningPort(), ui.pageOptions->editNetNick->text());
   432   _NetConnect("localhost", pnetserver->getRunningPort(), ui.pageOptions->editNetNick->text());
   432 
   433 
   433   if (ui.pageNet->rbLocalGame->isChecked())
   434   if (ui.pageNet->rbLocalGame->isChecked())