fix OOS when joining an mp game

https://gna.org/bugs/?25640
This commit is contained in:
gfgtdf 2017-04-17 14:51:32 +02:00 committed by GitHub
parent d6dddd68d2
commit 7db2b7c31e

View file

@ -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);