allow to open area to other factions even in mode_unique_faction

This commit is contained in:
Supergoat666 2020-08-25 12:34:17 +02:00
parent 301767090f
commit f2ae0a6874
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ if areas.factions_available then
return false, S("Area @1 does not exist"
.." or is not owned by you.", id)
end
if (factions.version or 0) < 2 or factions.mode_unique_faction then
if (factions.version or 0) < 2 or (factions.mode_unique_faction and not params[2]) then
-- Single faction mode
local open
if (factions.version or 0) < 2 then