rezalas / riftshadow

Dedicated to the preservation of the game and modernization of a classic mud codebase.
MIT License
18 stars 14 forks source link

Don't assume that the config file has been loaded #167

Closed marado closed 2 years ago

marado commented 2 years ago

If the file can't be found or loaded, then the server will crash, because it just assumes that the config file will be loaded correctly.

This commit changes that behavior, and after the config loading attempt it will finish the process if the loading was unsuccessful.