mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-25 16:53:47 +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