Skip to content

Commit

Permalink
fix OOS when joining an mp game
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Apr 17, 2017
1 parent d6dddd6 commit 7db2b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/dialogs/multiplayer/mp_join_game.cpp
Expand Up @@ -462,6 +462,7 @@ void mp_join_game::network_handler(window& window)
if(data["failed"].to_bool()) {
window.set_retval(window::CANCEL);
} else if(data.child("start_game")) {
level_["started"] = true;
window.set_retval(window::OK);
} else if(data.child("leave_game")) {
window.set_retval(window::CANCEL);
Expand Down

0 comments on commit 7db2b7c

Please sign in to comment.