Update src/data/challenge.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Leo Kim 2024-09-21 02:05:59 +09:00 committed by GitHub
parent 241b585e65
commit 599b1978f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -740,11 +740,7 @@ export class TrickRoomChallenge extends Challenge {
}
applyTrickRoom(isTrickRoom: Utils.BooleanHolder): boolean {
if (!isTrickRoom.value) {
isTrickRoom.value = true;
} else {
isTrickRoom.value = false;
}
isTrickRoom.value = !isTrickRoom.value;
return true;
}
}