Fixed an issue where items would not be lost after player death.
修复玩家死亡后物品不会丢失的问题。
This commit is contained in:
parent
88813fe837
commit
f3c46f2668
|
@ -721,7 +721,7 @@ public partial class CharacterTemplate : CharacterBody2D
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var len = ItemContainer.GetUsedCapacity();
|
var len = ItemContainer.GetTotalCapacity();
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user