Skip to content

Commit

Permalink
Hotfix for load/save options settings
Browse files Browse the repository at this point in the history
  • Loading branch information
krzychu124 committed Feb 10, 2019
1 parent e1943d6 commit 5d2c02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TLM/TLM/Manager/Impl/OptionsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public class OptionsManager : AbstractCustomManager, IOptionsManager {
Options.setTurnOnRed(data[38] == (byte)1);
}

if (data.Length >= 39) {
if (data.Length >= 40) {
Options.setTurnOnRedEnabledByDefault(data[39] == (byte)1);
}

Expand Down

0 comments on commit 5d2c02e

Please sign in to comment.