supreme-committee / text-adventure

UCSC CMPS 115 Project
0 stars 0 forks source link

Using <if> on a non-existent variable gives a blank screen #57

Closed mgrijalva closed 10 years ago

mgrijalva commented 10 years ago

If you try to use if tags on a variable that is not yet defined you are simply presented with a black screen.

The log contains this:

[21:28:59] Started parse on: .gamefiles/Start.xml
[21:28:59] arg2 must be a string variable in <if> statement

The parser should throw a better error message (this error is thrown on line 478 of parser.cc).