Fix messages being displayed on networked game end

This commit is contained in:
Stephen Seo 2022-04-06 20:17:27 +09:00
parent 59bdcc2a34
commit 91c9eab05e
1 changed files with 4 additions and 0 deletions

View File

@ -1180,6 +1180,10 @@ impl Component for Wrapper {
}
}
WrapperMsg::BackendTick => {
if !self.do_backend_tick {
return false;
}
if self.player_id.is_none() {
self.get_networked_player_id(ctx);
} else if shared