0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Added handling of prestige level dogtags

This commit is contained in:
Chomp 2024-12-29 20:47:59 +00:00
parent 12bfdb135e
commit a29533aa9f

View File

@ -303,6 +303,25 @@ export class CustomizationController {
break; break;
} }
const pretigeLevel = profile?.characters?.pmc?.Info?.PrestigeLevel;
if (pretigeLevel) {
if (pretigeLevel >= 1) {
customisationResultsClone.push({
id: "674dbf593bee1152d407f005",
source: "default",
type: "dogTag",
});
}
if (pretigeLevel >= 2) {
customisationResultsClone.push({
id: "675dcfea7ae1a8792107ca99",
source: "default",
type: "dogTag",
});
}
}
return customisationResultsClone; return customisationResultsClone;
} }