Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
previously both were broken: 1) 'require_scenario' was only checked if the scenario was installed which obviously doesn't make any sense at all. 2) 'require_scenario' was read from the local scenario data instead from the remote scenario. 3) 'require_era' was only checked when the scenario was not installed, so people who do have an outated version of the era installed could not join bacause it assumed require_era=yes in that case. 4) the server tried to read 'require_scenario' from the wrong wml node, 'require_scenario' is an attribute of [scenario] and not of savefile toplevel. (cherry-picked from commit eec8b67)
- Loading branch information
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters