mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
Fix: Hide unused states of legendary camouflage parts (fixes maus)
This commit is contained in:
1 parent
0632899ecf
commit
682f039c6c
4 files changed
+20
-8
No files matched your search
@@ -209,7 +209,10 @@ export async function extractModel(
|
||||
|
||||
case "StateSwitcherComponent":
|
||||
node.setExtras({
|
||||
state: component[`ssc.state${component["ssc.activeState"]}`],
|
||||
// a part's scenarios can pick its state as it loads
|
||||
state:
|
||||
component[`ssc.state${component["ssc.activeState"]}`] ??
|
||||
(isPart ? null : undefined),
|
||||
});
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user