# HG changeset patch # User koda # Date 1362875268 -3600 # Node ID 191bd86f97a183e9e5470bf9d40cdc0d80cd99b9 # Parent 6354b01d55009117d270bb70ce5431cd4f2bf914 fix loading files on osx too, the cause was different than other systems diff -r 6354b01d5500 -r 191bd86f97a1 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Mar 10 01:02:15 2013 +0100 +++ b/QTfrontend/hwform.cpp Sun Mar 10 01:27:48 2013 +0100 @@ -994,9 +994,8 @@ void HWForm::PlayDemoQuick(const QString & demofilename) { - if (game && game->gameState == gsStarted) return; - GoBack(); //needed to cleanly disconnect from netgame GoToPage(ID_PAGE_MAIN); + //GoBack() <- don't or you'll close the socket CreateGame(0, 0, 0); game->PlayDemo(demofilename, false); }