Closed mgrijalva closed 10 years ago
The following file will not throw an error. The comparison will fail (so "if passed" will not display) but there is no error message about the invalid comparison.
<tile> <var> <name>count</name> <value>4</value> </var> <var> <name>is_alive</name> <value>true</value> </var> <text>Hello world</text> <if arg1="count" arg2="is_alive" comparison="eq"> <text>if passed</text> </if> <link> <file>start.xml</file> <text>Move forward</text> </link> </tile>
This will throw a proper error (bool then int)
<if arg1="is_alive" arg2="count" comparison="eq"></if>
So just the int first, bool second case needs to be updated.
The following file will not throw an error. The comparison will fail (so "if passed" will not display) but there is no error message about the invalid comparison.
This will throw a proper error (bool then int)
So just the int first, bool second case needs to be updated.