Generated new mongoId for transitionRaidId

This commit is contained in:
Dev 2024-11-11 18:26:58 +00:00
parent 372498a07e
commit 93aa48dfe6

View File

@ -106,7 +106,7 @@ export class LocationLifecycleService {
locationLoot: this.generateLocationAndLoot(request.location, !request.sptSkipLootGeneration), locationLoot: this.generateLocationAndLoot(request.location, !request.sptSkipLootGeneration),
transition: { transition: {
isLocationTransition: false, isLocationTransition: false,
transitionRaidId: "66f5750951530ca5ae09876d", transitionRaidId: this.hashUtil.generate(),
transitionCount: 0, transitionCount: 0,
visitedLocations: [], visitedLocations: [],
}, },
@ -114,7 +114,7 @@ export class LocationLifecycleService {
// Only has value when transitioning into map from previous one // Only has value when transitioning into map from previous one
if (request.transition) { if (request.transition) {
// TODO - why doesnt the second raid after transit have any transition data? // TODO - why doesnt the raid after transit have any transition data?
result.transition = request.transition; result.transition = request.transition;
} }