Skip to content

Commit 1f938d7

Browse files
committed
Move compiler check to later point
1 parent 9ff2551 commit 1f938d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/CSharpExtension.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ public CSharpExtension(ExtensionManager manager) : base(manager)
5959
$"<dllmap dll=\"MonoPosixHelper\" target=\"{extDir}/x64/libMonoPosixHelper.so\" os=\"!windows,osx\" wordsize=\"64\" />\n</configuration>");
6060
}
6161
}
62-
63-
PluginCompiler.CheckCompilerBinary();
6462
}
6563

6664
/// <summary>

src/CSharpPluginLoader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public CSharpPluginLoader(CSharpExtension extension)
4242

4343
public void OnModLoaded()
4444
{
45+
PluginCompiler.CheckCompilerBinary();
46+
4547
// Include references to all loaded game extensions and any assemblies they reference
4648
foreach (Core.Extensions.Extension extension in Interface.Oxide.GetAllExtensions())
4749
{

0 commit comments

Comments
 (0)