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:
parent
12bfdb135e
commit
a29533aa9f
@ -303,6 +303,25 @@ export class CustomizationController {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user