diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/static/sw.js | 2 | ||||
-rw-r--r-- | web/web_control.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/static/sw.js b/web/static/sw.js index f698a6d..b41daa8 100644 --- a/web/static/sw.js +++ b/web/static/sw.js @@ -1,5 +1,5 @@ const CACHE_PREFIX = 'dartboat-' -const CACHE_VERSION = '16'; +const CACHE_VERSION = '17'; const CACHE_NAME = `${CACHE_PREFIX}${CACHE_VERSION}`; const CACHE_FILES = [ diff --git a/web/web_control.c b/web/web_control.c index c9fb138..8d01e5a 100644 --- a/web/web_control.c +++ b/web/web_control.c @@ -173,7 +173,7 @@ void user_visit(int points) void user_visit_to_rem(int rem) { - user_visit(state->legs[0]->rem - rem); + user_visit(state_active_leg()->rem - rem); } static void undo_active() |