Fix chatbox crash (#8204)

This commit is contained in:
metalgearsloth
2022-05-16 15:37:30 +10:00
committed by GitHub
parent 25b9e048e5
commit 9d2a395be0

View File

@@ -28,6 +28,12 @@ public sealed class ChatSystem : SharedChatSystem
foreach (var (ent, bubs) in bubbles)
{
if (Deleted(ent))
{
SetBubbles(bubs, false);
continue;
}
if (ent == player)
{
SetBubbles(bubs, true);