Auto: add missing table properties

This commit is contained in:
Coder12a
2019-06-28 19:52:28 -05:00
parent 5dfd32df1b
commit c531294335
3 changed files with 54 additions and 7 deletions

View File

@ -121,7 +121,7 @@ function factions.set_name(oldname, name)
end
for parcel in pairs(faction.land) do
local data = factions.create_claim_table()
local data = factions.create_parcel_table()
data.faction = name
factions.parcels.set(parcel, data)
end