diff --git a/resources/emscripten/emscripten-shell.html b/resources/emscripten/emscripten-shell.html index 4659c921936..24bd015462d 100644 --- a/resources/emscripten/emscripten-shell.html +++ b/resources/emscripten/emscripten-shell.html @@ -170,7 +170,7 @@ const keys = new Map(); const keysDown = new Map(); const canvas = document.getElementById('canvas'); -let player; +let easyrpgPlayer; let lastTouchedId; // Launch the Player and configure it @@ -180,8 +180,8 @@ saveFs: undefined }).then(function(Module) { // Module is ready - player = Module; - player.initApi(); + easyrpgPlayer = Module; + easyrpgPlayer.initApi(); // Custom code here });