add topbar with mana, fix bug where newly created state was not stored

in the hashtbl 😠, clean code
This commit is contained in:
pena 2023-01-08 04:10:15 +01:00 committed by Swrup
parent 15d42e5038
commit 84129826b5
11 changed files with 177 additions and 89 deletions

View file

@ -16,9 +16,9 @@ let update_online_user_state () =
let () =
regularly_call_fun update_online_user_state
(float_of_int Shared.State.auto_state_update_rate);
(Shared.Time.s_to_float Shared.State.auto_update_rate);
regularly_call_fun update_offline_user_state
(float_of_int Shared.State.auto_state_update_rate)
(Shared.Time.s_to_float Shared.State.auto_update_rate)
let () =
let logger = if App.log then Dream.logger else Fun.id in