Parameters fetch fix

Restore to default settings
This commit is contained in:
SDraw 2022-08-06 02:03:10 +03:00
parent 8e6f739589
commit ee55c60ed5
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
4 changed files with 16 additions and 4 deletions

View file

@ -50,7 +50,7 @@ namespace ml_aap
static void OnLocalAvatarSetup_Postfix() => ms_instance?.OnLocalAvatarSetup();
void OnLocalAvatarSetup()
{
if(m_localHandler != null)
if((m_localHandler != null) && !PlayerSetup.Instance._inVr)
m_localHandler.OnAvatarSetup();
}
}