mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Prevent lantern from turning off on death
This commit is contained in:
parent
5c99ca2a52
commit
64209967aa
@ -322,10 +322,6 @@ pub fn handle_destroy(server: &mut Server, entity: EcsEntity, last_change: Healt
|
||||
.insert(entity, comp::ForceUpdate)
|
||||
.err()
|
||||
.map(|e| error!(?e, ?entity, "Failed to insert ForceUpdate on dead client"));
|
||||
state
|
||||
.ecs()
|
||||
.write_storage::<comp::LightEmitter>()
|
||||
.remove(entity);
|
||||
state
|
||||
.ecs()
|
||||
.write_storage::<comp::Energy>()
|
||||
|
Loading…
Reference in New Issue
Block a user