mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 11:34:54 -04:00
Resolve #8116 - You can use missionaries of foreign religions religions
This commit is contained in:
parent
f9da3204b6
commit
d75233a932
@ -392,10 +392,8 @@ class ReligionManager : IsPartOfGameInfoSerialization {
|
||||
}
|
||||
|
||||
fun maySpreadReligionAtAll(missionary: MapUnit): Boolean {
|
||||
if (!civInfo.gameInfo.isReligionEnabled()) return false // No religion, no spreading
|
||||
if (religion == null) return false // Need a religion
|
||||
if (religionState < ReligionState.Religion) return false // First found an actual religion
|
||||
if (!civInfo.isMajorCiv()) return false // Only major civs
|
||||
if (!civInfo.gameInfo.isReligionEnabled()) return false // No religion, no spreading
|
||||
if (!missionary.canDoReligiousAction(Constants.spreadReligion)) return false
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user