supreme-committee / text-adventure

UCSC CMPS 115 Project
0 stars 0 forks source link

Engine exits when only <tile> tags exist #38

Closed mgrijalva closed 10 years ago

mgrijalva commented 10 years ago

I gave the engine a start.xml file that looked like:

<tile></tile>

and the program exited (it didn't crash).

Log output:

[15:32:46] Starting verication of .gamefiles/start.xml
[15:32:46] Passed verification: .gamefiles/start.xml
[15:32:46] Started parse on: .gamefiles/start.xml
[15:32:46] Parsing succeeded: .gamefiles/start.xml
[15:32:46] Game initialization failed. See previous messages

At the very least we should update it so the log says that there is an error in the file.