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
@@ -7,7 +7,7 @@ export default function stateMix(art) {
set(name) {
for (let index = 0; index < states.length; index++) {
const prop = states[index];
if (prop !== name) {
if (prop !== name && art[prop]) {
art[prop] = false;
}
}