Skip to content

Commit 4c6cd3a

Browse files
committed
Merge branch 'main' of https://github.com/Singtaa/OneJS
2 parents 47a5980 + f937672 commit 4c6cd3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Runtime/Engine/ScriptEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void Init() {
184184

185185
_jsEnv = new JsEnv(_jsEnvLoader, debuggerSupport ? port : -1);
186186

187-
#if UNITY_WEBGL
187+
#if UNITY_WEBGL && UNITY_STANDALONE
188188
_jsEnv.Eval("globalThis.ONEJS_WEBGL = true;");
189189
#endif
190190

0 commit comments

Comments
 (0)