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-10 20:42:55 -0300
commitcf2b7f01a849164048a10ac441caf4f8115a1129 (patch)
tree2025455fd48e24a5ba93684e09dd6ff3d1ed669d
parente2a02d1e80815aa76abc939967267263854596e2 (diff)
downloadNorthstarMods-cf2b7f01a849164048a10ac441caf4f8115a1129.tar.gz
NorthstarMods-cf2b7f01a849164048a10ac441caf4f8115a1129.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"