Improved comments inside RemoveResourceFromArea

This commit is contained in:
Chomp
2025-06-14 11:44:14 +01:00
parent a934bd35ae
commit 8d0c9999bc
@@ -549,6 +549,7 @@ public class HideoutController(
return output;
}
// Add the item found in hideout area slot to player stash
var request = new AddItemDirectRequest
{
ItemWithModsToAdd = [itemToReturn.ConvertToItem()],
@@ -564,7 +565,7 @@ public class HideoutController(
return output;
}
// Remove items from slot, locationIndex remains
// Remove items from slot, keep locationIndex object
var hideoutSlotIndex = hideoutArea.Slots.FindIndex(slot => slot.LocationIndex == slotIndexToRemove);
hideoutArea.Slots[hideoutSlotIndex].Items = null;