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 e5139b3 commit 659e839Copy full SHA for 659e839
RasterPropMonitor/Core/IJSIModule.cs
@@ -43,11 +43,12 @@ public IJSIModule(Vessel v)
43
44
internal static void CreateJSIModules(List<IJSIModule> modules, Vessel v)
45
{
46
+ object[] constructorArgs = new[] { v };
47
foreach (Type t in x_registeredTypes)
48
49
try
50
- modules.Add((IJSIModule)Activator.CreateInstance(t, v));
51
+ modules.Add((IJSIModule)Activator.CreateInstance(t, constructorArgs));
52
}
53
catch (Exception e)
54
0 commit comments