WurstScript icon indicating copy to clipboard operation
WurstScript copied to clipboard

[Lua]: Compiling map and not using "-opt" creates wrong "config" function

Open Donach opened this issue 1 year ago • 0 comments

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: image

Using Wurst version 1.8.1.0-jenkins-Wurst-1361

My full config: -runcompiletimefunctions -injectobjects -stacktraces -noExtractMapScript -opt -localOptimizations -lua

Donach avatar Feb 23 '24 10:02 Donach