mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 16:28:40 +00:00
fix missing map previews in the lobby
regression from 'fix require_scenario & require_era' (cherry-picked from commit 9a3917dc3518455b0b8fa03f95ea71217a23550c)
This commit is contained in:
parent
932edd30c5
commit
f517f3af74
@ -1562,7 +1562,7 @@ void server::handle_player_in_game(socket_ptr socket, std::shared_ptr<simple_wml
|
||||
// Update the game's description.
|
||||
// If there is no shroud, then tell players in the lobby
|
||||
// what the map looks like
|
||||
const simple_wml::node& s = *wesnothd::game::starting_pos(g.level().root());
|
||||
const simple_wml::node& s = *wesnothd::game::starting_pos(data.root());
|
||||
// fixme: the hanlder of [store_next_scenario] below searches for 'mp_shroud' in [scenario]
|
||||
// at least of the these cosed is likely wrong.
|
||||
if(!data["mp_shroud"].to_bool()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user