add topbar with mana, fix bug where newly created state was not stored
in the hashtbl 😠, clean code
This commit is contained in:
parent
15d42e5038
commit
84129826b5
11 changed files with 177 additions and 89 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue