Skip to content

Commit

Permalink
Fixed catgirls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerin3 committed Jun 25, 2023
1 parent b68212b commit a40f1ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ const setChoice = (element) => {
else {
let nephew;
let forced = 0;
if (stop && activeSiblings.length >= limit) {
if (stop && (activeSiblings.length >= limit || limit !== 0)) {
for (let sibling of siblings) {
nephew = sibling.firstElementChild
if (nephew.classList.contains("forced")){
Expand All @@ -384,7 +384,7 @@ const setChoice = (element) => {
}
}
}
if (forced < limit) {
if (forced < limit && limit !== 0) {
choiceActivator(element);
playSE('audio/click1.ogg', seVolume);
} else {
Expand Down

0 comments on commit a40f1ae

Please sign in to comment.