Skip to content

Commit

Permalink
fix: Use ServerVer constant
Browse files Browse the repository at this point in the history
Signed-off-by: Reece Dunham <[email protected]>
  • Loading branch information
RDIL committed Aug 19, 2024
1 parent c764662 commit 8d98779
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions components/scoreHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
isObjectiveActive,
levelForXp,
PEACOCKVERSTRING,
ServerVer,
SNIPER_LEVEL_INFO,
sniperLevelForXp,
xpRequiredForLevel,
Expand Down Expand Up @@ -686,12 +687,7 @@ export async function getMissionEndData(
Value: {
Location: contractData.Metadata.Location,
},
Version: {
_Major: 8,
_Minor: 15,
_Build: 0,
_Revision: 0,
},
Version: ServerVer,
})
} else {
// not the final level
Expand Down Expand Up @@ -1144,12 +1140,7 @@ export async function getMissionEndData(
Location: levelData.Metadata.Location,
NewLevel: newLocationLevel,
},
Version: {
_Major: 8,
_Minor: 15,
_Build: 0,
_Revision: 0,
},
Version: ServerVer,
})
}
}
Expand Down

0 comments on commit 8d98779

Please sign in to comment.