aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts/state_ui.nut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/state_ui.nut')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/state_ui.nut11
1 files changed, 9 insertions, 2 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/state_ui.nut b/Northstar.Client/mod/scripts/vscripts/state_ui.nut
index 907e38fa..51e4856f 100644
--- a/Northstar.Client/mod/scripts/vscripts/state_ui.nut
+++ b/Northstar.Client/mod/scripts/vscripts/state_ui.nut
@@ -24,6 +24,13 @@ void function NSUpdateGameStateLoopUI()
continue
}
NSSetLoading( false )
+ if(GetConVarString( "mp_gamemode" ) == "solo")
+ {
+ NSUpdateGameStateUI( "northstar", Localize( GetMapDisplayName( GetActiveLevel()+"_CAMPAIGN_NAME" ) ) , "Campaign", "Campaign", IsFullyConnected(), false )
+
+ }
+ else{
NSUpdateGameStateUI( GetActiveLevel(), Localize( GetMapDisplayName( GetActiveLevel() ) ), GetConVarString( "mp_gamemode" ), Localize( GetPlaylistDisplayName( GetConVarString("mp_gamemode") ) ), IsFullyConnected(), false )
- }
-} \ No newline at end of file
+ }
+}
+}