Doubles go brr

This commit is contained in:
CWX
2025-01-16 10:39:53 +00:00
parent 255034786a
commit 30962039d2
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ public class PrestigeController
}
var indexToGet = Math.Min(createRequest.SptForcePrestigeLevel.Value - 1, 1); // Index starts at 0
var rewards = _databaseService.GetTemplates().Prestige.Elements[indexToGet].Rewards;
var rewards = _databaseService.GetTemplates().Prestige.Elements[(int)indexToGet].Rewards;
AddPrestigeRewardsToProfile(sessionId, newProfile, rewards);
// Copy transferred items