Skip to content

Commit 6ff3155

Browse files
committed
fix test
1 parent 01252dd commit 6ff3155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Module/Database/View/ShowPirateRound/ShowPirateRound.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public function handle(GameControllerInterface $game): void
8383
}
8484
}
8585
}
86-
$maxPrestige = $lastRound->getMaxPrestige() ?? 0;
87-
$actualPrestige = $lastRound->getActualPrestige() ?? 0;
86+
$maxPrestige = $lastRound->getMaxPrestige();
87+
$actualPrestige = $lastRound->getActualPrestige();
8888
$remainingPrestige = max(0, $maxPrestige - $actualPrestige);
8989

9090
$game->setTemplateVar('REMAINING_PRESTIGE', $remainingPrestige);
@@ -155,4 +155,4 @@ private function getFactionPrestigeData(array $userPirateRounds): array
155155

156156
return $result;
157157
}
158-
}
158+
}

0 commit comments

Comments
 (0)