mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +07:00
Merge branch '3.11.1-patch1'
This commit is contained in:
commit
a485ad5fa5
@ -55,7 +55,7 @@ class AndroidLauncher : AndroidApplication() {
|
||||
|
||||
// Copy external mod directory (with data user put in it) to internal (where it can be read)
|
||||
if (!externalModsDir.exists()) externalModsDir.mkdirs() // this can fail sometimes, which is why we check if it exists again in the next line
|
||||
if (externalModsDir.exists()) externalModsDir.copyRecursively(internalModsDir)
|
||||
if (externalModsDir.exists()) externalModsDir.copyRecursively(internalModsDir, true)
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
|
@ -3,8 +3,8 @@ package com.unciv.build
|
||||
object BuildConfig {
|
||||
const val kotlinVersion = "1.3.71"
|
||||
const val appName = "Unciv"
|
||||
const val appCodeNumber = 481
|
||||
const val appVersion = "3.11.1"
|
||||
const val appCodeNumber = 482
|
||||
const val appVersion = "3.11.1-patch1"
|
||||
|
||||
const val gdxVersion = "1.9.10"
|
||||
const val roboVMVersion = "2.3.1"
|
||||
|
@ -246,6 +246,7 @@ class CityInfo {
|
||||
fun getGreatPersonMap():StatMap {
|
||||
val stats = StatMap()
|
||||
for((specialist, amount) in population.getNewSpecialists())
|
||||
if (getRuleset().specialists.containsKey(specialist)) // To solve problems in total remake mods
|
||||
stats.add("Specialists", getRuleset().specialists[specialist]!!.greatPersonPoints.times(amount))
|
||||
|
||||
val buildingStats = Stats()
|
||||
|
Loading…
Reference in New Issue
Block a user