aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-02-11 00:30:38 +0100
committerBarichello <artur@barichello.me>2022-02-10 20:36:16 -0300
commit893db637d5471dc3eb43a8d0ba77cb5d49cd5008 (patch)
tree51ba289b335ff2ae9948eb51462f5fc01c5fe00e /Northstar.Client/mod/scripts
parent5d51cdaabb4e88bf61414f5c2c7fba278aef7c6b (diff)
downloadNorthstarMods-893db637d5471dc3eb43a8d0ba77cb5d49cd5008.tar.gz
NorthstarMods-893db637d5471dc3eb43a8d0ba77cb5d49cd5008.zip
Fix resetting communities_hostname to stryder
Seems like loading screen counts as a "main menu", hence resetting communities_hostname
Diffstat (limited to 'Northstar.Client/mod/scripts')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut1
1 files changed, 0 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
index dea73669..73e45831 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
@@ -72,7 +72,6 @@ void function OnMainMenu_Open()
{
Signal( uiGlobal.signalDummy, "EndOnMainMenu_Open" )
EndSignal( uiGlobal.signalDummy, "EndOnMainMenu_Open" )
- SetConVarString( "communities_hostname", "R2-pc.stryder.respawn.com" ) // reset communities to default
UpdatePromoData() // On script restarts this gives us the last data until the new request is complete
RequestMainMenuPromos() // This will be ignored if there was a recent request. "infoblock_requestInterval"