mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Stopping auto-walk after death: Fixes #607
This commit is contained in:
parent
e8b4b29d70
commit
4232148b83
@ -326,6 +326,7 @@ impl PlayState for SessionState {
|
||||
Event::InputUpdate(GameInput::Respawn, state)
|
||||
if state != self.key_state.respawn =>
|
||||
{
|
||||
stop_auto_walk(&mut auto_walk, &mut self.key_state, &mut self.hud);
|
||||
self.key_state.respawn = state;
|
||||
if state {
|
||||
self.client.borrow_mut().respawn();
|
||||
|
Loading…
Reference in New Issue
Block a user