add owner to members on cleanup

This commit is contained in:
Luke aka SwissalpS 2024-09-16 01:49:38 +02:00
parent 6ccfe35d13
commit 54c80e9242

@ -554,7 +554,9 @@ do
local save_needed = false
for _, fact in pairs(facts) do
if not fact.members then
fact.members = {}
fact.members = {
[fact.owner] = true
}
end
if fact.password then
fact.password256 = factions.hash_password(fact.password)