forked from mtcontrib/factions
Fix: line 978 had a typo
new factions are neutral with everyone.
This commit is contained in:
@ -199,8 +199,8 @@ 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
|
||||
faction:new_enemy(i)
|
||||
fac:new_enemy(name)
|
||||
faction:new_neutral(i)
|
||||
fac:new_neutral(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user