From 54c80e924249b2c9b965551347885c8ae05bf645 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Mon, 16 Sep 2024 01:49:38 +0200 Subject: [PATCH] add owner to members on cleanup --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6736192..c53ba60 100644 --- a/init.lua +++ b/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)