From f2ae0a687411eb8af8251215b72ae4cf16f4456b Mon Sep 17 00:00:00 2001 From: Supergoat666 <47240900+Supergoat666@users.noreply.github.com> Date: Tue, 25 Aug 2020 12:34:17 +0200 Subject: [PATCH] allow to open area to other factions even in mode_unique_faction --- chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatcommands.lua b/chatcommands.lua index 61b3016..6589152 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -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