Fix crash on restart (#463)
Clears inventory slots before disposal when ClientInventoryComponent is removed.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
fedc0ad71c
commit
590cb1e85c
@@ -34,6 +34,7 @@ namespace Content.Client.GameObjects
|
||||
{
|
||||
base.OnRemove();
|
||||
|
||||
InterfaceController?.PlayerDetached();
|
||||
InterfaceController?.Dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user