fix(SimpleWeb.jslib): Locally Scope Runtime

This commit is contained in:
MrGadget 2024-03-17 14:10:38 -04:00
parent e257232517
commit 1eecc055c5

View File

@ -36,7 +36,7 @@ function Connect(addressPtr, openCallbackPtr, closeCallBackPtr, messageCallbackP
{
// if unity doesn't create Runtime, then make it here
// dont ask why this works, just be happy that it does
Runtime = { dynCall: dynCall }
var Runtime = { dynCall: dynCall }
}
const address = UTF8ToString(addressPtr);