We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3590e19 commit 7febc21Copy full SHA for 7febc21
B9PartSwitch/PartSwitch/PartSubtype.cs
@@ -1,4 +1,4 @@
1
-using System;
+using System;
2
using System.Collections.Generic;
3
using UniLinq;
4
using UnityEngine;
@@ -295,7 +295,7 @@ void MaybeAddModifier(IPartModifier modifier)
295
296
if (modifier is IPartAspectLock partAspectLockHolder)
297
{
298
- object partAspectLock = partAspectLockHolder;
+ object partAspectLock = partAspectLockHolder.PartAspectLock;
299
if (aspectLocksOnOtherModules.Contains(partAspectLock))
300
301
OnInitializationError($"More than one module can't manage {modifier.Description}");
0 commit comments