2026-03-30 머리카락 물리효과, 아이템 습득 버그 수정
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user