diff --git a/html/src/app.js b/html/src/app.js index 193b132d..a4fc9a6f 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -1317,7 +1317,11 @@ speechSynthesis.getVoices(); if (json.id === API.currentUser.id) { json.status = API.currentUser.status; json.statusDescription = API.currentUser.statusDescription; - json.state = API.currentUser.state; + if ($app.isGameRunning) { + json.state = 'online'; + } else { + json.state = 'active'; + } json.last_login = API.currentUser.last_login; if ( typeof json.location !== 'undefined' &&