mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-29 10:43:50 +01:00
add owner to members on cleanup
This commit is contained in:
parent
6ccfe35d13
commit
54c80e9242
4
init.lua
4
init.lua
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user