Skip to content

Commit 0cd5d2f

Browse files
authored
Update SimpleSmoothMouseLookNewInput.cs
1 parent 0ffc6eb commit 0cd5d2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Assets/Scripts/Camera/SimpleSmoothMouseLookNewInput.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void Awake()
6363

6464
private void Start()
6565
{
66-
if (ReferenceManager.instance != null) ReferenceManager.instance.mouseControls = this;
66+
6767
}
6868

6969
private void OnEnable()
@@ -199,14 +199,14 @@ void CameraFly()
199199
var vert = -Keyboard.current.sKey.ReadValue() + Keyboard.current.wKey.ReadValue();
200200
if (vert != 0)
201201
{
202-
moveTransform.Translate(transform.forward * flySpeed * EloManager.instance.camSpeedMultiplier * vert * Time.deltaTime, Space.World);
202+
moveTransform.Translate(transform.forward * flySpeed * vert * Time.deltaTime, Space.World);
203203
moved = true;
204204
}
205205

206206
var horz = -Keyboard.current.aKey.ReadValue() + Keyboard.current.dKey.ReadValue();
207207
if (horz != 0)
208208
{
209-
moveTransform.Translate(transform.right * flySpeed * EloManager.instance.camSpeedMultiplier * horz * Time.deltaTime, Space.World);
209+
moveTransform.Translate(transform.right * flySpeed * horz * Time.deltaTime, Space.World);
210210
moved = true;
211211
}
212212

0 commit comments

Comments
 (0)