aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-02-11 00:30:38 +0100
committerBarichello <artur@barichello.me>2022-02-12 13:46:50 -0300
commitd43364780c0bc6a15e89e5569fecae45b09f4755 (patch)
tree7e3164a1c1b0c4a57dccc34145ad42f086de458d
parent40e466d665007f0fdbce382068fe1c377bb1cffd (diff)
downloadNorthstarMods-d43364780c0bc6a15e89e5569fecae45b09f4755.tar.gz
NorthstarMods-d43364780c0bc6a15e89e5569fecae45b09f4755.zip
Fix resetting communities_hostname to stryder
Seems like loading screen counts as a "main menu", hence resetting communities_hostname
-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"