allow to open area to other factions even in mode_unique_faction
This commit is contained in:
parent
301767090f
commit
f2ae0a6874
|
@ -301,7 +301,7 @@ if areas.factions_available then
|
||||||
return false, S("Area @1 does not exist"
|
return false, S("Area @1 does not exist"
|
||||||
.." or is not owned by you.", id)
|
.." or is not owned by you.", id)
|
||||||
end
|
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
|
-- Single faction mode
|
||||||
local open
|
local open
|
||||||
if (factions.version or 0) < 2 then
|
if (factions.version or 0) < 2 then
|
||||||
|
|
Loading…
Reference in New Issue