Divide mouse speed by 100 to fix bug with having the mouse speed be between 0 and 1
This commit is contained in:
@ -72,7 +72,7 @@ func _input(event):
|
|||||||
respawn()
|
respawn()
|
||||||
if not is_paused:
|
if not is_paused:
|
||||||
if event is InputEventMouseMotion:
|
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 event.is_action_pressed("vape"):
|
||||||
if current_condition == CONDITION.NORMAL:
|
if current_condition == CONDITION.NORMAL:
|
||||||
|
|||||||
Reference in New Issue
Block a user