I'd like to perform some additional shutdown code when a person manual exits the server by typing "exit", closes the window via the "X", or when my code issues a 'ConsoleCommand("disconnect")'. I thought that CheckEndGame() would still be called, but that doesn't seem to be the case. I see in the server log that "appRequestExit(0)" is logged when I type "exit" in the console, so I'm wondering where this is generated.
Any help is much appreciated! Thanks!
-Omar
Any help is much appreciated! Thanks!
-Omar