Skip to content

Commit 075f77f

Browse files
committed
fix: getLampForRatingの条件分岐で不要な==1が存在した問題の修正
1 parent e0663b1 commit 075f77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OngekiScoreLog/app/Services/OngekiUtility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function RateValueFromTitleForPlatinum(string $title, $difficulty, int $p
238238
public function getLampForRating(int $technicalScore, bool $fullBell, bool $fullCombo, bool $allBreak): string
239239
{
240240
if ($technicalScore == 1010000) {
241-
if ($fullBell == 1) {
241+
if ($fullBell) {
242242
return "FB/AB+";
243243
} else {
244244
return "AB+";

0 commit comments

Comments
 (0)