Skip to content

Commit b03a124

Browse files
committed
lock a function lol
1 parent 989b2b8 commit b03a124

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

polymod/hscript/_internal/PolymodScriptManager.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ class PolymodScriptManager
102102
}
103103
}
104104

105+
#if lime
105106
public function registerScriptClassByPathAsync(path:String):lime.app.Future<Bool>
106107
{
107108
var promise = new lime.app.Promise<Bool>();
@@ -154,6 +155,7 @@ class PolymodScriptManager
154155
// Await the promise
155156
return promise.future;
156157
}
158+
#end
157159

158160
public function validateImports():Void
159161
{

0 commit comments

Comments
 (0)