Fix: line 978 had a typo

new factions are neutral with everyone.
This commit is contained in:
Coder12a
2018-12-26 21:26:27 -06:00
parent 73b3fb300d
commit 269690d279
2 changed files with 5 additions and 5 deletions

View File

@ -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