MontyTRC89 / Tomb-Editor

Tomb Editor
57 stars 16 forks source link

Syntax error using accented characters in level name (TombIDE) #841

Closed davidmarr closed 1 month ago

davidmarr commented 3 months ago

If I create a level and use accented characters (à è ì ò ù) in the level name, they are also used in the variable in Gameflow.lua. As a result TEN crashes. A syntax error is reported in the log.

Example: image

Log:

[2024-Jun-22 18:12:09] [info] Starting TombEngine version 1.4.0 (64-bit)
[2024-Jun-22 18:12:09] [error] A Lua error occurred while setting up scripts; WinMain: ../../Scripts/Gameflow.lua:57: syntax error near '<\195>'
Nickelony commented 1 month ago

This has already been fixed.