Fix Exception as non admin (#1646)
This commit is contained in:
@@ -302,7 +302,8 @@ namespace Content.Client.Chat
|
|||||||
case "ALL":
|
case "ALL":
|
||||||
chatBox.LocalButton.Pressed ^= true;
|
chatBox.LocalButton.Pressed ^= true;
|
||||||
chatBox.OOCButton.Pressed ^= true;
|
chatBox.OOCButton.Pressed ^= true;
|
||||||
chatBox.AdminButton.Pressed ^= true;
|
if (chatBox.AdminButton != null)
|
||||||
|
chatBox.AdminButton.Pressed ^= true;
|
||||||
_allState = !_allState;
|
_allState = !_allState;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user