Divide mouse speed by 100 to fix bug with having the mouse speed be between 0 and 1

This commit is contained in:
2024-08-09 16:46:24 -05:00
parent 7d43e9f47b
commit df993962d8

View File

@ -72,7 +72,7 @@ func _input(event):
respawn()
if not is_paused:
if event is InputEventMouseMotion:
rotate_y(-event.relative.x * GlobalSettings.GetSetting(GlobalSettings.Setting.Mouse_Speed))
rotate_y(-event.relative.x * (GlobalSettings.GetSetting(GlobalSettings.Setting.Mouse_Speed)) / 100)
if event.is_action_pressed("vape"):
if current_condition == CONDITION.NORMAL: