ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
207 stars 24 forks source link

[BUG] Decompile failing on: Mercy { Angelic Descent: Off } #481

Closed ksamavati closed 1 month ago

ksamavati commented 2 months ago

Was getting this error while running decompile on code copied from the settings screen in workshop:

Failed to fully decompile the workshop code, stuck at line 100, column 4

The line in [decompile].ow was Angelic Descent: Off: image

I removed that line and the import worked fine.

I removed everything else and tried doing an import of just this and it fails on the same line:

settings {
    heroes
    {
        General
        {
            Mercy
            {
                Damage Dealt: 60%
                Angelic Descent: On
            }
        }
    }
}

Comment out the angelic descent line and it works fine:


settings {
    heroes
    {
        General
        {
            Mercy
            {
                Damage Dealt: 60%
                // Angelic Descent: On
            }
        }
    }
}