(client) chore:UI
This commit is contained in:
@ -61,8 +61,9 @@ namespace Entity
|
||||
{
|
||||
var entity = other.GetComponent<Character>();
|
||||
if (entity == null) return;
|
||||
if (entity.TryPickupItem(itemResource, 1) == 0)
|
||||
if (entity.TryPickupItem(itemResource, 1) <= 0)
|
||||
{
|
||||
Debug.Log("Kill");
|
||||
Kill();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user