diff --git a/core/src/com/unciv/models/ruleset/Ruleset.kt b/core/src/com/unciv/models/ruleset/Ruleset.kt index 3c9c709dc3..7fffcd3c50 100644 --- a/core/src/com/unciv/models/ruleset/Ruleset.kt +++ b/core/src/com/unciv/models/ruleset/Ruleset.kt @@ -38,8 +38,6 @@ class Ruleset { fun getFromJson(tClass: Class, filePath:String): T { - val file = Gdx.files.internal(filePath) - if(!file.exists()) return tClass Array<>().first() val jsonText = Gdx.files.internal(filePath).readString(Charsets.UTF_8.name()) return Json().apply { ignoreUnknownFields = true }.fromJson(tClass, jsonText) }