Fix: typo
This commit is contained in:
parent
092be70b6f
commit
b911039102
@ -481,7 +481,7 @@ end
|
|||||||
function factions.get_player_faction(playername)
|
function factions.get_player_faction(playername)
|
||||||
local data = factions.players.get(playername)
|
local data = factions.players.get(playername)
|
||||||
if data then
|
if data then
|
||||||
local faction = factions.factions.get(faction.faction)
|
local faction = factions.factions.get(data.faction)
|
||||||
return faction, facname
|
return faction, facname
|
||||||
end
|
end
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user