mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 17:24:24 +07:00
Unit test to catch game loading problems with religion enabled (#11821)
* Lint regions in UncivFiles * Create a load-predefined-game test that catches the 4.12.2 bug
This commit is contained in:
parent
30a91f2f4a
commit
77f02600fd
@ -313,6 +313,9 @@ class UncivFiles(
|
||||
getGeneralSettingsFile().writeString(json().toJson(gameSettings), false, Charsets.UTF_8.name())
|
||||
}
|
||||
|
||||
//endregion
|
||||
//region Scenarios
|
||||
|
||||
val scenarioFolder = "scenarios"
|
||||
fun getScenarioFiles() = sequence {
|
||||
|
||||
@ -340,6 +343,8 @@ class UncivFiles(
|
||||
return game
|
||||
}
|
||||
|
||||
//endregion
|
||||
|
||||
companion object {
|
||||
|
||||
var saveZipped = false
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user