WurstScript
WurstScript copied to clipboard
[Lua]: Compiling map and not using "-opt" creates wrong "config" function
Describe the bug
When I'm compiling a map using Lua target, when I use "-opt" as well all works fine.
However when I disable "-opt", the "config" native function get's renamed with some number suffix like this:
Using Wurst version 1.8.1.0-jenkins-Wurst-1361
My full config: -runcompiletimefunctions -injectobjects -stacktraces -noExtractMapScript -opt -localOptimizations -lua