diff --git a/js/components.js b/js/components.js
index 9e1259d..b5d1893 100644
--- a/js/components.js
+++ b/js/components.js
@@ -137,7 +137,7 @@ function loadVue() {
Vue.component('challenge', {
props: ['layer', 'data'],
template: `
-
@@ -558,6 +558,7 @@ function loadVue() {
data: {
player,
tmp,
+ options,
Decimal,
format,
formatWhole,
diff --git a/js/game.js b/js/game.js
index e799201..c8c2b0c 100644
--- a/js/game.js
+++ b/js/game.js
@@ -224,7 +224,7 @@ function doReset(layer, force=false) {
if (row >= layers[layerResetting].row && (!force || layerResetting != layer)) completeChallenge(layerResetting)
}
- prevOnReset = {...player} //Deep Copy
+ prevOnReset = {...player}
player.points = (row == 0 ? decimalZero : getStartPoints())
for (let x = row; x >= 0; x--) rowReset(x, layer)
@@ -336,7 +336,7 @@ function gameLoop(diff) {
if (isNaN(diff)) diff = 0
if (gameEnded && !player.keepGoing) {
diff = 0
- player.tab = "gameEnded"
+ //player.tab = "gameEnded"
clearParticles()
}
diff --git a/js/technical/displays.js b/js/technical/displays.js
index c79634b..e982494 100644
--- a/js/technical/displays.js
+++ b/js/technical/displays.js
@@ -52,7 +52,7 @@ function achievementStyle(layer, id){
function updateWidth() {
let screenWidth = window.innerWidth
let splitScreen = screenWidth >= 1024
- if (player.forceOneTab) splitScreen = false
+ if (options.forceOneTab) splitScreen = false
if (player.navTab == "none") splitScreen = true
tmp.other.screenWidth = screenWidth
tmp.other.screenHeight = window.innerHeight
diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js
index 9fc4f18..61f6c3c 100644
--- a/js/technical/systemComponents.js
+++ b/js/technical/systemComponents.js
@@ -153,22 +153,22 @@ var systemComponents = {
|
- |
+ |
|
|
|
- |
+ |
|
- |
- |
+ |
+ |
- |
- |
+ |
+ |
`
},
@@ -187,10 +187,10 @@ var systemComponents = {
},
'node-mark': {
- props: ['layer', 'data', 'offset', 'scale'],
+ props: {'layer': {}, data: {}, offset: {default: 0}, scale: {default: 1}},
template: `
-
-
+
+
`
},
@@ -211,7 +211,7 @@ var systemComponents = {
'bg': {
props: ['layer'],
- template: `