]> git.jsancho.org Git - lugaru.git/commitdiff
Console: Return gracefully when loading missing level
authorRémi Verschelde <rverschelde@gmail.com>
Wed, 4 Jan 2017 17:28:04 +0000 (18:28 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Wed, 4 Jan 2017 17:39:47 +0000 (18:39 +0100)
For this, implemented Folders::file_exists to check for the existence
of a given file, so that we can exit gracefully before raising a FileNotFound
exception which then closes the game.

The console and stderr both display an error message.
Part of #23.


No differences found