ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
208 stars 26 forks source link

Some boolean lobby settings use wrong true/false strings resulting in an import error #140

Closed TrueCP6 closed 4 years ago

TrueCP6 commented 4 years ago
{
    "Lobby":
    {
        "Allow Players Who Are In Queue": true,
        "Map Rotation": "After A Game",
        "Match Voice Chat": true,
        "Return To Lobby": "Never",
        "Swap Teams After Match": false,
        "Team Balancing": "After A Game"
    }
}

becomes

settings
{
    lobby
    {
        Allow Players Who Are In Queue: On
        Map Rotation: After A Game
        Match Voice Chat: On
        Return To Lobby: Never
        Swap Teams After Match: Off
        Team Balancing: After A Game
    }
}

when it should be

settings
{
    lobby
    {
        Allow Players Who Are In Queue: Yes
        Map Rotation: After A Game
        Match Voice Chat: Enabled
        Return To Lobby: Never
        Swap Teams After Match: No
        Team Balancing: After A Game
    }
}
ItsDeltin commented 4 years ago

Fixed in v1.4.