Skip to content

Commit 5daeaf3

Browse files
committed
Remove marksman from map based weapon weightings
1 parent df97511 commit 5daeaf3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/LoadoutChanges/GlobalValues.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ export class globalValues {
7979
...weightingToUpdate.equipment[equipmentType],
8080
};
8181
try {
82-
//update weapons here
83-
if (equipmentType === "FirstPrimaryWeapon") {
82+
//update weapon type weightings per map here
83+
if (
84+
equipmentType === "FirstPrimaryWeapon" &&
85+
botName !== "marksman"
86+
) {
8487
// console.log("Updating", botName, " weapons for map", location);
8588
const firstPrimary: Record<string, number> = cloneDeep(
8689
copiedInventory.equipment[equipmentType]

0 commit comments

Comments
 (0)