mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[AvatarScaleMod] Oops, inverted setting toggles
This commit is contained in:
parent
f92e842f41
commit
5b7b586298
1 changed files with 4 additions and 4 deletions
|
@ -10,14 +10,14 @@ static class ModSettings
|
|||
AvatarScaleMod.EntryUseScaleGesture.OnEntryValueChanged.Subscribe(OnEntryUseScaleGestureChanged);
|
||||
}
|
||||
|
||||
static void OnEntryEnabledChanged(bool newValue, bool oldValue)
|
||||
static void OnEntryEnabledChanged(bool oldVal, bool newVal)
|
||||
{
|
||||
if (AvatarScaleManager.LocalAvatar != null)
|
||||
AvatarScaleManager.LocalAvatar.enabled = newValue;
|
||||
AvatarScaleManager.LocalAvatar.enabled = newVal;
|
||||
}
|
||||
|
||||
static void OnEntryUseScaleGestureChanged(bool newValue, bool oldValue)
|
||||
static void OnEntryUseScaleGestureChanged(bool oldVal, bool newVal)
|
||||
{
|
||||
AvatarScaleGesture.GestureEnabled = newValue;
|
||||
AvatarScaleGesture.GestureEnabled = newVal;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue