Fixes server shutdown crash & client error log spam. (#67)
This commit is contained in:
committed by
GitHub
parent
2d9285f790
commit
205a4fc530
@@ -27,6 +27,13 @@ namespace Content.Client.GameObjects
|
||||
private string TemplateName = "HumanInventory"; //stored for serialization purposes
|
||||
public event EventHandler<BoundKeyChangedMessage> OnCharacterMenuKey;
|
||||
|
||||
public override void OnRemove()
|
||||
{
|
||||
base.OnRemove();
|
||||
|
||||
Window.Dispose();
|
||||
}
|
||||
|
||||
public override void ExposeData(EntitySerializer serializer)
|
||||
{
|
||||
base.ExposeData(serializer);
|
||||
|
||||
Reference in New Issue
Block a user