| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-09-29 15:07:13 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-09-29 15:07:13 +0200 |
| commit | 463aca15fdeeb7fda838dcc7355d2365de5d703d (patch) | |
| tree | cbb40583cf96cfb233f7f0d41d5ccdd164d48a8f /www/script/battles.js | |
| parent | 80c3b7947eb0bd240d4c1f94808cb64d2fbfbf3d (diff) | |
...
Diffstat (limited to 'www/script/battles.js')
| -rw-r--r-- | www/script/battles.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/www/script/battles.js b/www/script/battles.js index 5e90959..a5b5864 100644 --- a/www/script/battles.js +++ b/www/script/battles.js @@ -8,7 +8,7 @@ tacticians_online.battles = new Object(); tacticians_online.battles.get = function () { - return localStorage.getItem("battles"); + tacticians_online.app.battles_in.send(localStorage.getItem("battles")); } tacticians_online.battles.set = @@ -17,13 +17,6 @@ function (encoded_battles) localStorage.setItem("battles", encoded_battles); } -tacticians_online.battles.read_battles = -function () -{ - tacticians_online.app.battles_in.send(tacticians_online.battles.get()); -} - - tacticians_online.battles.attach_to = function (app) { |


