Fix chatbox crash (#8204)
This commit is contained in:
@@ -28,6 +28,12 @@ public sealed class ChatSystem : SharedChatSystem
|
|||||||
|
|
||||||
foreach (var (ent, bubs) in bubbles)
|
foreach (var (ent, bubs) in bubbles)
|
||||||
{
|
{
|
||||||
|
if (Deleted(ent))
|
||||||
|
{
|
||||||
|
SetBubbles(bubs, false);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (ent == player)
|
if (ent == player)
|
||||||
{
|
{
|
||||||
SetBubbles(bubs, true);
|
SetBubbles(bubs, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user