From 9dd577e6996b4074dc272bf8c4ca5081b67d2008 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Wed, 31 Oct 2018 09:41:34 -0500 Subject: [PATCH] Bug fix rankless. Forgot to save. --- factions.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/factions.lua b/factions.lua index 1c9a4b2..6d35045 100644 --- a/factions.lua +++ b/factions.lua @@ -419,7 +419,10 @@ function factions.Faction.has_permission(self, player, permission) end end else - self.rankless = true + if not self.rankless then + self.rankless = true + factions.save() + end end return false end