Add alternate scripting host (non jsr-223) to orx-olive

This commit is contained in:
Edwin Jakobs
2020-02-08 17:24:54 +01:00
parent 26ea9a48f6
commit 96b2ba36fe
3 changed files with 48 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ class Olive<P : Program>(val resources: Resources? = null) : Extension {
try {
val futureFunc = GlobalScope.async {
val start = System.currentTimeMillis()
val f = loadFromScript<P.() -> Unit>(it)
val f = loadFromScriptKSH<P.() -> Unit>(it)
val end = System.currentTimeMillis()
logger.info { "loading script took ${end - start}ms" }
f