diff --git a/public/index.html b/public/index.html index 03a4d53..7b45d65 100644 --- a/public/index.html +++ b/public/index.html @@ -120,7 +120,7 @@ ◓ ◒ - Change scenario + Change map Prone: @@ -176,11 +176,11 @@ - Scenario: + Map: - Scenario 1: Side Show - Scenario 2: Dragon Hunting - Scenario 3: Race Against Time + BattleTroops Scenario 1: Side Show + BattleTroops Scenario 2: Dragon Hunting + BattleTroops Scenario 3: Race Against Time Test diff --git a/src/index.js b/src/index.js index 01ebd89..1f8f2c1 100644 --- a/src/index.js +++ b/src/index.js @@ -132,5 +132,5 @@ object.addEventListener('load', load); objectDataObserver.observe(object, { attributeFilter: ['data'] }); if (object.getAttribute('data') !== fileName) { - object.data = `assets/images/${fileName}`; + object.data = fileName; }
- Scenario: + Map: - Scenario 1: Side Show - Scenario 2: Dragon Hunting - Scenario 3: Race Against Time + BattleTroops Scenario 1: Side Show + BattleTroops Scenario 2: Dragon Hunting + BattleTroops Scenario 3: Race Against Time Test diff --git a/src/index.js b/src/index.js index 01ebd89..1f8f2c1 100644 --- a/src/index.js +++ b/src/index.js @@ -132,5 +132,5 @@ object.addEventListener('load', load); objectDataObserver.observe(object, { attributeFilter: ['data'] }); if (object.getAttribute('data') !== fileName) { - object.data = `assets/images/${fileName}`; + object.data = fileName; }