Skip to content

Commit

Permalink
Added dedicated fallback message if a replay is loaded from mp create
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 29, 2016
1 parent fb904c6 commit 2febafd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/savegame.cpp
Expand Up @@ -313,6 +313,11 @@ bool loadgame::load_multiplayer_game()
return false;
}

if(is_replay_save(summary_)) {
gui2::show_transient_message(video_, _("Load Game"), _("Replays are not supported in multiplayer mode."));
return false;
}

if(gamestate_.classification().campaign_type != game_classification::CAMPAIGN_TYPE::MULTIPLAYER) {
gui2::show_transient_error_message(video_, _("This is not a multiplayer save."));
return false;
Expand Down

0 comments on commit 2febafd

Please sign in to comment.