Fix lobby showing wrong info

The condition was accidentaly inverted during a refactor.
This commit is contained in:
gfgtdf 2023-12-08 04:28:38 +01:00 committed by GitHub
parent 16ccaefc86
commit a320377fed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,7 @@ game_info::game_info(const config& game, const std::vector<std::string>& install
const bool require = game["require_scenario"].to_bool(false);
// Check if it's a user map
if(level_cfg) {
if(!level_cfg) {
level_cfg = game_config.find_child("generic_multiplayer", "id", game["mp_scenario"]).ptr();
}