Make the TriggerVibrationvibration behave closer to real steam.

This commit is contained in:
Mr_Goldberg 2021-09-14 16:11:17 -04:00
parent b3a5102a3c
commit a24a9c266f
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
3 changed files with 108 additions and 4 deletions

View file

@ -262,6 +262,7 @@ STEAMAPI_API void S_CALLTYPE SteamAPI_Shutdown()
PRINT_DEBUG("SteamAPI_Shutdown\n");
get_steam_client()->clientShutdown();
get_steam_client()->BReleaseSteamPipe(user_steam_pipe);
get_steam_client()->BShutdownIfAllPipesClosed();
user_steam_pipe = 0;
--global_counter;
old_user_instance = NULL;
@ -652,6 +653,7 @@ STEAMAPI_API void SteamGameServer_Shutdown()
PRINT_DEBUG("SteamGameServer_Shutdown\n");
get_steam_client()->serverShutdown();
get_steam_client()->BReleaseSteamPipe(server_steam_pipe);
get_steam_client()->BShutdownIfAllPipesClosed();
server_steam_pipe = 0;
--global_counter;
g_pSteamClientGameServer = NULL; //TODO: check if this actually gets nulled when SteamGameServer_Shutdown is called