Skip to content

Commit

Permalink
fix(versus): default to the signature suit if a disguise is not supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyFuller committed Dec 2, 2024
1 parent 099ee0d commit 509df3b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions components/multiplayer/multiplayerMenuData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ multiplayerMenuDataRouter.get(
return
}

if (!req.query.disguiseUnlockableId) {
res.status(400).send("no disguiseUnlockableId")
return
}
req.query.disguiseUnlockableId ??= "TOKEN_OUTFIT_HITMANSUIT"

const presets = getConfig<MultiplayerPreset[]>(
"MultiplayerPresets",
Expand Down Expand Up @@ -159,10 +156,7 @@ multiplayerMenuDataRouter.get(
return
}

if (!req.query.disguiseUnlockableId) {
res.status(400).send("no disguiseUnlockableId")
return
}
req.query.disguiseUnlockableId ??= "TOKEN_OUTFIT_HITMANSUIT"

const userData = getUserData(req.jwt.unique_name, req.gameVersion)

Expand Down

0 comments on commit 509df3b

Please sign in to comment.