Save diplomacy requests

This commit is contained in:
Coder12a 2018-12-06 21:05:27 -06:00
parent ef64e10b1e
commit 3823dfba7d

View File

@ -41,7 +41,7 @@ function ctf.diplo.set(one, two, state)
else else
ctf.diplo.diplo = {} ctf.diplo.diplo = {}
end end
ctf.needs_save = true
table.insert(ctf.diplo.diplo,{one=one,two=two,state=state}) table.insert(ctf.diplo.diplo,{one=one,two=two,state=state})
end end
@ -78,6 +78,6 @@ function ctf.diplo.cancel_requests(one, two)
return return
end end
end end
ctf.needs_save = true
return return
end end