Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Commit 9db2a43

Browse files
committed
GameMP: Show disconnect dialog on leaving load game session.
1 parent e44cd7a commit 9db2a43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/OGAMEMP.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ void Game::load_mp_game(char *fileName, int lobbied, char *game_host)
986986
if( !mp_select_load_option(fileName) )
987987
{
988988
remote.deinit();
989+
mp_close_session();
989990
#ifdef HAVE_LIBCURL
990991
ws.deinit();
991992
#endif

0 commit comments

Comments
 (0)