issue with fridge and OnContainerChanged
This commit is contained in:
@@ -66,6 +66,7 @@ public class Player : BaseCharacter
|
||||
{
|
||||
AddTask(new PlayerTasks(Tasks.Move, point));
|
||||
}
|
||||
|
||||
public async void Interact(BaseInteractableObject interactionItem)
|
||||
{
|
||||
var result = await interactionItem.ShowPopupMenu(this);
|
||||
@@ -127,9 +128,9 @@ public class Player : BaseCharacter
|
||||
|
||||
public void ClearContainerItem()
|
||||
{
|
||||
OnContainerChanged.Invoke(this, false);
|
||||
Destroy(_containerItem.gameObject);
|
||||
_containerItem = null;
|
||||
//OnContainerChanged.Invoke(this, false);
|
||||
}
|
||||
|
||||
public ContainerItem GetContainerItem()
|
||||
|
||||
Reference in New Issue
Block a user