Initializing mod_steam should make the game crash if the game was not launched from Steam

Issue #76 resolved
Pablo Antonio Navarro Reyes created an issue

Actually launching a game that uses mod_steam, throws an error to the console but doesn't exit the game at the moment.

I think it should instantly exit the game, or at least inform the game that it wasn't launched properly from Steam.

Comments (3)

  1. Joseba Echevarria García repo owner

    You should be able to know if the initialization worked correctly by reading the steam_appid global variable. If it's set to -1, then Steam could not be initialized correctly, it'll otherwise be your steam app id.

    I can make mod_steam quit if the initialization did not work, although that can be a bit harsh for development.

  2. Log in to comment