Closed mgrijalva closed 10 years ago
I defined an int called "count" with a value of 1. The next tile had this in it:
<tile> <modify> <var>count</var> <amount>--340</amount> </modify> <text>count is now {{count}}</text> <link> <file>start.xml</file> <text>Go to start</text> </link> </tile>
I was met with "count is now 18019081" The parser tries to add "--340" (casted to an int) to the count variable.
I defined an int called "count" with a value of 1. The next tile had this in it:
I was met with "count is now 18019081" The parser tries to add "--340" (casted to an int) to the count variable.