add note about dfhooks

develop
Myk Taylor 2023-04-09 23:30:23 -07:00
parent 6a7446780b
commit f0d19c9363
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

@ -39,6 +39,8 @@ bool DFSteam::init(color_ostream& out) {
} }
bind(g_steam_handle, SteamAPI_Init); bind(g_steam_handle, SteamAPI_Init);
// TODO: can we remove this initialization of the Steam API once we move to dfhooks?
if (!g_SteamAPI_Init || !g_SteamAPI_Init()) if (!g_SteamAPI_Init || !g_SteamAPI_Init())
return false; return false;