change or to and

master
MisterE123 2020-12-25 03:11:07 +00:00
parent 2e73433cd7
commit 384a38208d
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ local is_member = function (meta, name)
-- is member if player and owner share at least one faction
local owner_factions = factions.get_player_factions(name)
local owner = meta:get_string("owner")
if owner_factions ~= nil or owner_factions ~= false then
if owner_factions ~= nil and owner_factions ~= false then
for _, f in ipairs(owner_factions) do