Make HEAD not draggable

This commit is contained in:
Sebastian Morr 2020-10-29 16:07:22 +01:00
parent 814caca382
commit c343546473

View file

@ -122,7 +122,7 @@ func _on_unhover():
func _input(event):
if hovered:
if event.is_action_pressed("click"):
if event.is_action_pressed("click") and type != "head":
start_pos = get_viewport().get_mouse_position()
held = true
elif event.is_action_pressed("right_click"):