If no diplomacy then make war by default
This commit is contained in:
parent
6c3d35c9b2
commit
916060f34f
@ -182,8 +182,13 @@ end
|
||||
function factions.start_diplomacy(name,faction)
|
||||
for i,fac in pairs(factions.factions) do
|
||||
if i ~= name and not (faction.neutral[i] or faction.allies[i] or faction.enemies[i]) then
|
||||
if factions_config.faction_diplomacy == true then
|
||||
faction:new_neutral(i)
|
||||
fac:new_neutral(name)
|
||||
else
|
||||
faction:new_enemy(i)
|
||||
fac:new_enemy(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user