Skip to content

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

@Donach

Description

@Donach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions