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