Explorar el Código

Fix Input.action_release() marking action as pressed

Pedro J. Estébanez hace 9 años
padre
commit
fae6dbc7f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main/input_default.cpp

+ 1 - 1
main/input_default.cpp

@@ -504,7 +504,7 @@ void InputDefault::action_release(const StringName& p_action){
 
 	action.fixed_frame=OS::get_singleton()->get_fixed_frames();
 	action.idle_frame=OS::get_singleton()->get_idle_frames();
-	action.pressed=true;
+	action.pressed=false;
 
 	action_state[p_action]=action;
 }