update stateMix

This commit is contained in:
Harvey Zack committed 2023-04-20 11:53:21 +08:00
1 parent 609ccb4c46
commit 4035135a69
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2799,7 +2799,7 @@ function stateMix(art) {
set (name) {
for(let index = 0; index < states.length; index++){
const prop = states[index];
if (prop !== name) art[prop] = false;
if (prop !== name && art[prop]) art[prop] = false;
}
}
});