Ticket #10 (closed bug: fixed)
circumvention for the crash when a player want to join a game without having the map.
| Reported by: | chlue | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | program logic | Version: | |
| Keywords: | Cc: |
Description
As long as the lobby crashes when the user dont have the map for the game, you could consider to add something like:
if ( !battle.IsMapAvailable?() ) {
wxMessageBox( _("You need to download the map before you can join this game."));
return;
}
to the BattleListTab::OnListJoin? method. Fits nice after the "if ( !battle.HasMod?() ) {..."-Check.
Beeing able to join the game without the right map is surely better, but this quick fix is way better than the crash.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
