fix pvpgn crash when creating diablo 2 game https://github.com/HarpyWar/pvpgn/issues/68
This commit is contained in:
parent
873025eb73
commit
a28e67f6be
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ namespace pvpgn
|
|||
o_game["currentplayers"] = std_to_string(game->ref);
|
||||
o_game["totalplayers"] = std_to_string(game->count);
|
||||
o_game["maxplayers"] = std_to_string(game->maxplayers);
|
||||
o_game["mapname"] = game->mapname;
|
||||
if (game->mapname)
|
||||
o_game["mapname"] = game->mapname;
|
||||
o_game["option"] = std_to_string(game->option);
|
||||
o_game["maptype"] = std_to_string(game->maptype);
|
||||
o_game["tileset"] = std_to_string(game->tileset);
|
||||
|
|
Loading…
Add table
Reference in a new issue