Fix messages being displayed on networked game end
This commit is contained in:
parent
59bdcc2a34
commit
91c9eab05e
1 changed files with 4 additions and 0 deletions
|
@ -1180,6 +1180,10 @@ impl Component for Wrapper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WrapperMsg::BackendTick => {
|
WrapperMsg::BackendTick => {
|
||||||
|
if !self.do_backend_tick {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if self.player_id.is_none() {
|
if self.player_id.is_none() {
|
||||||
self.get_networked_player_id(ctx);
|
self.get_networked_player_id(ctx);
|
||||||
} else if shared
|
} else if shared
|
||||||
|
|
Loading…
Reference in a new issue