diff options
author | F1F7Y <64418963+F1F7Y@users.noreply.github.com> | 2022-06-13 22:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 22:13:34 +0200 |
commit | b67a880c042d926352a6b3e7ed9148883b9b8bd8 (patch) | |
tree | bef6ec4f3a2ba858c32dd85c7e3b93bf2db8a3f5 | |
parent | 37ca534fbbb51a26af2b9bdd99f4d9ccd0753f69 (diff) | |
download | NorthstarMods-b67a880c042d926352a6b3e7ed9148883b9b8bd8.tar.gz NorthstarMods-b67a880c042d926352a6b3e7ed9148883b9b8bd8.zip |
Unlock SP when Coop is selected (#383)
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_map_select.nut | 2 |
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 |