mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 06:39:17 +07:00
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:
@ -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>()
|
||||
|
Reference in New Issue
Block a user