Browse Source

Fix: CoroutineBenchmark fails

Akeit0 11 months ago
parent
commit
340dcd9aca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sandbox/Benchmark/CoroutineBenchmark.cs

+ 1 - 0
sandbox/Benchmark/CoroutineBenchmark.cs

@@ -14,6 +14,7 @@ public class CoroutineBenchmark
     {
     {
         core.Setup("coroutine.lua");
         core.Setup("coroutine.lua");
         core.LuaCSharpState.OpenBasicLibrary();
         core.LuaCSharpState.OpenBasicLibrary();
+        core.LuaCSharpState.OpenCoroutineLibrary();
     }
     }
 
 
     [Benchmark(Description = "MoonSharp (RunString)")]
     [Benchmark(Description = "MoonSharp (RunString)")]