fix getting captured by zanuka triggering G3 logic

This commit is contained in:
Sainan 2025-04-01 01:37:21 +02:00
parent 7d5ea680e4
commit 6e6df221e7

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)!;