Closed subsoap closed 5 years ago
Something I foresee is Steam being closed while a game is running for example. Devs may include Steamworks functions in their main script which would break their main loop if they didn't pcall wrap the Steamworks functions.
I just tested this and games automatically close when Steam closes if they are using the Steamworks extension!? 😬Not good!
Edit: maybe that's something Steam does now.
When I shut down steam while the example is running I get a popup saying "Waiting for Spacewar to shut down". The game doesn't shut down though. I wonder if there's a callback in the API that the game should react to and gracefully shut down or in some other way handle that the Steam app is shut down?
I feel like this should not make a script error out. Because otherwise I need to pcall it.