default listen server hostname and always randomize origin id if origin not enabled (fixes voice mute problems)

This commit is contained in:
r3muxd 2024-12-31 12:49:21 -05:00
parent b3b7de144e
commit 8f08dca32b

View file

@ -257,11 +257,12 @@ function ShowMainMenu()
uiGlobal.mainMenuFocus = focus
if ( GetConVarString( "platform_user_id" ) == "0" && !Origin_IsEnabled() )
if ( !Origin_IsEnabled() )
{
local randomID = RandomInt( 0, 999999999 ).tostring()
ClientCommand( "platform_user_id " + randomID )
}
ClientCommand("hostname \""+GetConVarString("name")+"'s R1Delta Server\"")
}
function ShowMOTD()