2026-03-30 머리카락 물리효과, 아이템 습득 버그 수정

This commit is contained in:
2026-03-30 02:04:16 +09:00
parent 7fe45db079
commit d833da5bfa
8 changed files with 8 additions and 13 deletions

View File

@@ -79,8 +79,6 @@ public void MoveItem(int sourceIndex, int targetIndex)
int canAdd = Items[targetIndex].Data.MaxStack - Items[targetIndex].CurrentStack;
int actualAdd = Mathf.Min(canAdd, Items[sourceIndex].CurrentStack);
Debug.Log($"actualAdd : {actualAdd}");
Items[targetIndex].CurrentStack += actualAdd;
Items[sourceIndex].CurrentStack -= actualAdd;