A strange error in Lua script

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
Add a line with a meaningless comment in the code, and the program crashes after running the check.
JASS:
--length % scale
Does anyone know why?
 

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
It seems that % is disrupting the script's formatting. What could be the reason?
 

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
Show me the modified line please, with a screenshot.
ec4ae25b-cfec-4a4c-a2c6-924fa4bebf62.png

9ea1f89e-908a-4639-94c6-62934668baaf.png

Create a new map, run the test, and then WE crash.
 
Top