Fix on_game_initialized

This commit is contained in:
Federico Cecchetto 2022-02-28 20:56:55 +01:00
parent 781e1f914d
commit 358d564936

View File

@ -152,7 +152,7 @@ namespace scheduler
{ {
schedule([=]() schedule([=]()
{ {
const auto dw_init = game::environment::is_sp() ? true : game::Live_SyncOnlineDataFlags(0) == 0; const auto dw_init = game::environment::is_sp() ? true : game::Live_SyncOnlineDataFlags(0) == 32;
if (dw_init && game::Sys_IsDatabaseReady2()) if (dw_init && game::Sys_IsDatabaseReady2())
{ {
once(callback, type, delay); once(callback, type, delay);