mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 15:09:05 +00:00
cleaner polytan fully unlocked check
This commit is contained in:
parent
c3497fb874
commit
589f5ee7bb
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ export const getRandomIdle = (
|
|||
} else {
|
||||
// video
|
||||
const polytanProgress = gameProgress.polytan_unlocked_parts;
|
||||
const isPolytanFullyUnlocked = Object.keys(polytanProgress).every(
|
||||
(key) => !polytanProgress[key as keyof typeof polytanProgress]
|
||||
const isPolytanFullyUnlocked = Object.values(polytanProgress).every(
|
||||
(v) => v
|
||||
);
|
||||
if (site === GameSite.B && isPolytanFullyUnlocked && Math.random() < 0.3) {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue