Fix: diplomacy data lose (#20)
This commit is contained in:
parent
723638cc04
commit
7f5d940c4a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user