mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix combo not reset at respawn
This commit is contained in:
parent
fca8227db8
commit
971dd9059c
@ -662,6 +662,11 @@ pub fn handle_respawn(server: &Server, entity: EcsEntity) {
|
||||
.write_storage::<comp::Health>()
|
||||
.get_mut(entity)
|
||||
.map(|mut health| health.revive());
|
||||
state
|
||||
.ecs()
|
||||
.write_storage::<comp::Combo>()
|
||||
.get_mut(entity)
|
||||
.map(|mut combo| combo.reset());
|
||||
state
|
||||
.ecs()
|
||||
.write_storage::<comp::Pos>()
|
||||
|
Loading…
Reference in New Issue
Block a user