Do not show character interface for observers.

This commit is contained in:
Pieter-Jan Briers
2019-07-19 11:15:33 +02:00
parent 14d538997e
commit c0717ed6a3
2 changed files with 42 additions and 20 deletions

View File

@@ -36,6 +36,11 @@ namespace Content.Client.GameObjects.EntitySystems
var menu = characterInterface.Window;
if (menu == null)
{
return;
}
if (menu.IsOpen)
{
if (menu.IsAtFront())