Remove name label upon death
This commit is contained in:
parent
10e67c8ab7
commit
ee5f5260a0
@ -718,6 +718,9 @@ impl IPlayer for RemotePlayer {
|
|||||||
if let Some(splorch) = &mut self.splorch {
|
if let Some(splorch) = &mut self.splorch {
|
||||||
splorch.set_emitting(true);
|
splorch.set_emitting(true);
|
||||||
}
|
}
|
||||||
|
if let Some(mut name) = self.name_label.take() {
|
||||||
|
name.queue_free();
|
||||||
|
}
|
||||||
self.is_dead = true;
|
self.is_dead = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user