diff options
author | H0L0theBard <97146561+H0L0theBard@users.noreply.github.com> | 2022-04-06 23:56:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 14:56:11 +0100 |
commit | d8cbd386a5e1b76625e7192a147d41fc1ae12e1d (patch) | |
tree | 38b16d23680290e578483d1e22fe0711230c06db /Northstar.Client/mod/scripts/vscripts/state_ui.nut | |
parent | 19943fbd1884aa8d2ba82a97916bda6dae65faf3 (diff) | |
download | NorthstarMods-d8cbd386a5e1b76625e7192a147d41fc1ae12e1d.tar.gz NorthstarMods-d8cbd386a5e1b76625e7192a147d41fc1ae12e1d.zip |
Campaign RPC fix (#285)
* Update state_ui.nut
* Update state_client.nut
* Update state_ui.nut
* Fix accidental whitespace
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/state_ui.nut')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/state_ui.nut | 11 |
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 + } +} +} |