Resolved #11700 - "Promotes all spies [amount] time(s)" crash

This commit is contained in:
yairm210 2024-06-05 16:15:20 +03:00
parent 1296b16f90
commit 3d111465ec

View File

@ -858,7 +858,7 @@ object UniqueTriggerActivation {
if (!civInfo.gameInfo.isEspionageEnabled()) return null
return {
civInfo.espionageManager.spyList.forEach { it.levelUpSpy(unique.params[1].toInt()) }
civInfo.espionageManager.spyList.forEach { it.levelUpSpy(unique.params[0].toInt()) }
true
}
}