aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2022-06-13 22:13:34 +0200
committerGitHub <noreply@github.com>2022-06-13 22:13:34 +0200
commitb67a880c042d926352a6b3e7ed9148883b9b8bd8 (patch)
treebef6ec4f3a2ba858c32dd85c7e3b93bf2db8a3f5 /Northstar.Client
parent37ca534fbbb51a26af2b9bdd99f4d9ccd0753f69 (diff)
downloadNorthstarMods-b67a880c042d926352a6b3e7ed9148883b9b8bd8.tar.gz
NorthstarMods-b67a880c042d926352a6b3e7ed9148883b9b8bd8.zip
Unlock SP when Coop is selected (#383)
Diffstat (limited to 'Northstar.Client')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut
index efe1d462..930e472b 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut
@@ -309,7 +309,7 @@ void function LockMapButton( var element )
bool function IsLocked( string map )
{
- bool sp = map.find( "sp_" ) == 0
+ bool sp = map.find( "sp_" ) == 0 && PrivateMatch_GetSelectedMode() != "sp_coop"
if ( sp )
return true