default listen server hostname and always randomize origin id if origin not enabled (fixes voice mute problems)
This commit is contained in:
parent
b3b7de144e
commit
8f08dca32b
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue