fix error in case handling

This commit is contained in:
ulysse 2021-04-02 14:40:42 +02:00 committed by Buckaroo Banzai
parent 0c0e7548c1
commit 0d19660379

@ -258,7 +258,8 @@ local function handle_command(name, param)
else
return false, S("You are in many factions, you have to choose one of them: @1.", table.concat(player_factions, ", "))
end
elseif facts[faction_name] == nil then
end
if facts[faction_name] == nil then
return false, S("This faction doesn't exists.")
else
local fmembers = ""