diff --git a/html/src/app.js b/html/src/app.js
index b6bf8e2d..0c819387 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -4080,6 +4080,7 @@ import gameLogService from './service/gamelog.js'
console.log('^update offline^');
}
if ((ctx.ref.$online_for == '') && (ctx.state == 'online')) {
+ ctx.ref.$location_at = Date.now();
ctx.ref.$online_for = Date.now();
ctx.ref.$offline_for = '';
console.log('^update online^');