feat: zanuka capture #1416

Merged
Sainan merged 3 commits from zanuka into main 2025-04-01 02:29:30 -07:00
Showing only changes of commit 6e6df221e7 - Show all commits

View File

@ -95,7 +95,8 @@ export const addMissionInventoryUpdates = async (
inventoryUpdates.MissionFailed &&
inventoryUpdates.MissionStatus == "GS_FAILURE" &&
inventoryUpdates.EndOfMatchUpload &&
inventoryUpdates.ObjectiveReached
inventoryUpdates.ObjectiveReached &&
!inventoryUpdates.LockedWeaponGroup
) {
const loadout = (await Loadout.findById(inventory.LoadOutPresets, "NORMAL"))!;
const config = loadout.NORMAL.id(inventory.CurrentLoadOutIds[0].$oid)!;