# HG changeset patch # User unc0rr # Date 1239970819 0 # Node ID c22af5e8b636cc3839687559741a7bd6bf44784a # Parent cd66434351cf0e815acd222a9d871ed13fb0d2cb Fix disconnection from server diff -r cd66434351cf -r c22af5e8b636 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Tue Apr 14 19:05:23 2009 +0000 +++ b/QTfrontend/hwform.cpp Fri Apr 17 12:20:19 2009 +0000 @@ -373,9 +373,7 @@ if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) GoBack(); - if (id == ID_PAGE_NET) { - if(hwnet || pnetserver) NetDisconnect(); - } + if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); if (curid == ID_PAGE_SCHEME) ammoSchemeModel->Save();