| summaryrefslogtreecommitdiff |
diff options
| -rw-r--r-- | manifest.json | 7 | ||||
| -rw-r--r-- | src/Struct/Model.elm | 6 | ||||
| -rw-r--r-- | www/script/params.js | 4 |
3 files changed, 8 insertions, 9 deletions
diff --git a/manifest.json b/manifest.json index e3f369c..7e6c225 100644 --- a/manifest.json +++ b/manifest.json @@ -22,11 +22,6 @@ }, "background": { - "scripts": - [ - "www/script/params.js", - "www/script/main.js", - "www/script/load.js" - ] + "page": "www/index.html" } } diff --git a/src/Struct/Model.elm b/src/Struct/Model.elm index dca14c2..6742e96 100644 --- a/src/Struct/Model.elm +++ b/src/Struct/Model.elm @@ -39,7 +39,11 @@ new flags = { flags = flags, error = Nothing, - players = (Array.fromList (Struct.Flags.get_players flags)), + players = + (Array.push + (Struct.Player.default) + (Array.fromList (Struct.Flags.get_players flags)) + ), query_index = -1, notify = False } diff --git a/www/script/params.js b/www/script/params.js index 803003c..de42e93 100644 --- a/www/script/params.js +++ b/www/script/params.js @@ -6,7 +6,7 @@ var tacticians_online = tacticians_online || new Object(); tacticians_online.params = new Object(); tacticians_online.params.private = new Object(); -tacticians_online.params.private.frequency = 15; +tacticians_online.params.private.frequency = 1; tacticians_online.params.private.players = ""; tacticians_online.params.reset = @@ -26,7 +26,7 @@ function () if (tacticians_online.params.private.frequency == null) { - tacticians_online.params.private.frequency = 15; + tacticians_online.params.private.frequency = 1; } if (tacticians_online.params.private.players == null) |


