ItsDeltin / Overwatch-Script-To-Workshop

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

fix(Decompiler): Handle multiple large numbers in lobby map settings #437

Closed CactusPuppy closed 1 year ago

CactusPuppy commented 1 year ago

With the Season 4 update, lobby settings can now include multiple large numbers at the end of map names, such as the following:

settings
{
    modes
    {
        Skirmish
        {
            enabled maps
            {
                Blizzard World 972777519512068154 972777519512068194
            }
        }
    }
}

This PR updates the decompiler to support this new change.

CactusPuppy commented 1 year ago

NOTE: will probably need to figure out how to add map variants to OSTW's structure at some point, but for now just decompiling will do.