fix(PlayerControllerBase): Reset move / turn speeds OnDisable

This commit is contained in:
MrGadget 2024-09-18 19:39:17 -04:00
parent 22bfb1b429
commit 69c05f3ae7

View File

@ -185,6 +185,13 @@ void Reset()
this.enabled = false;
}
void OnDisable()
{
horizontal = 0f;
vertical = 0f;
turnSpeed = 0f;
}
public override void OnStartAuthority()
{
// Calculate DPI-aware sensitivity