mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-03 23:13:20 +01:00
Update src/data/challenge.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
241b585e65
commit
599b1978f8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user