Skip to content

Commit

Permalink
#2610 If routes have their levels set to null, they now default to th…
Browse files Browse the repository at this point in the history
…e default
  • Loading branch information
Wotuu committed Nov 13, 2024
1 parent c84e5c3 commit ca2e7cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Logic/MapContext/DungeonRouteProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ private function getDungeonRouteProperties(CoordinatesServiceInterface $coordina
'pullGradientApplyAlways' => $dungeonRoute->pull_gradient_apply_always,
'faction' => $dungeonRoute->faction->key,
'enemyForces' => $dungeonRoute->enemy_forces,
'levelMin' => $dungeonRoute->level_min,
'levelMax' => $dungeonRoute->level_max,
'levelMin' => $dungeonRoute->level_min ?? config('keystoneguru.keystone.levels.default_min'),
'levelMax' => $dungeonRoute->level_max ?? config('keystoneguru.keystone.levels.default_max'),
'dungeonDifficulty' => $dungeonRoute->dungeon_difficulty,

'mappingVersionUpgradeUrl' => route('dungeonroute.upgrade', [
Expand Down

0 comments on commit ca2e7cb

Please sign in to comment.