forked from OpenWF/SpaceNinjaServer
fix: cache rewards (#435)
This commit is contained in:
parent
81cc773faa
commit
e86d7498c8
@ -27,9 +27,6 @@ const getRewards = ({
|
||||
if (RewardInfo.node in ExportRegions) {
|
||||
const region = ExportRegions[RewardInfo.node];
|
||||
const rewardManifests = region.rewardManifests ?? [];
|
||||
if (rewardManifests.length == 0) {
|
||||
return { InventoryChanges: {}, MissionRewards: [] };
|
||||
}
|
||||
|
||||
let rotations: number[] = [];
|
||||
if (RewardInfo.VaultsCracked) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user