We don't need a special parameter for 'no barbarians'... since we can jut not include barbarians in the Nations to begin with...
Obviously
This commit is contained in:
parent
004bede4bb
commit
9b1ca770cb
2 changed files with 1 additions and 2 deletions
|
@ -62,7 +62,7 @@ object GameStarter {
|
|||
availableCivNames.removeAll(newGameParameters.players.map { it.chosenCiv })
|
||||
availableCivNames.remove(Constants.barbarians)
|
||||
|
||||
if(!newGameParameters.noBarbarians && ruleset.modOptions.barbarians!=Constants.disabled) {
|
||||
if(!newGameParameters.noBarbarians && ruleset.nations.containsKey(Constants.barbarians)) {
|
||||
val barbarianCivilization = CivilizationInfo(Constants.barbarians)
|
||||
gameInfo.civilizations.add(barbarianCivilization)
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ import kotlin.collections.set
|
|||
|
||||
class ModOptions {
|
||||
var isBaseRuleset = false
|
||||
var barbarians = Constants.enabled
|
||||
var techsToRemove = HashSet<String>()
|
||||
var buildingsToRemove = HashSet<String>()
|
||||
var unitsToRemove = HashSet<String>()
|
||||
|
|
Loading…
Reference in a new issue