Fix crash on restart (#463)

Clears inventory slots before disposal when ClientInventoryComponent is removed.
This commit is contained in:
ShadowCommander
2019-11-26 07:26:47 -08:00
committed by Pieter-Jan Briers
parent fedc0ad71c
commit 590cb1e85c

View File

@@ -34,6 +34,7 @@ namespace Content.Client.GameObjects
{ {
base.OnRemove(); base.OnRemove();
InterfaceController?.PlayerDetached();
InterfaceController?.Dispose(); InterfaceController?.Dispose();
} }