Fix: diplomacy data lose (#20)

This commit is contained in:
Coder12a 2018-12-14 16:18:28 -06:00 committed by Billy S
parent 723638cc04
commit 7f5d940c4a

View File

@ -209,6 +209,9 @@ function ctf.load()
ctf.teams = table.teams
ctf.players = table.players
for i = 1, #ctf.registered_on_load do
ctf.registered_on_load[i](table)
end
-- Convert old data
for teamname,unused in pairs(ctf.teams) do
if not ctf.teams[teamname].power then