From b9110391020981ce46cfd791fea805a5afb04f01 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Fri, 28 Jun 2019 09:47:00 -0500 Subject: [PATCH] Fix: typo --- factions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factions.lua b/factions.lua index a4bdaca..37affa4 100644 --- a/factions.lua +++ b/factions.lua @@ -481,7 +481,7 @@ end function factions.get_player_faction(playername) local data = factions.players.get(playername) if data then - local faction = factions.factions.get(faction.faction) + local faction = factions.factions.get(data.faction) return faction, facname end return nil