Skip to content

Commit

Permalink
Fix DLC filter in SpeedLimitManager
Browse files Browse the repository at this point in the history
Fixes #818
  • Loading branch information
originalfoo authored and krzychu124 committed Apr 7, 2020
1 parent 4420be0 commit e48a584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TLM/TLM/Manager/Impl/SpeedLimitManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public class SpeedLimitManager
}

// If it requires DLC, check the DLC is active
if (info.m_dlcRequired != 0 && (uint)(info.m_dlcRequired & dlcMask) != 0u) {
if ((info.m_dlcRequired & dlcMask) != info.m_dlcRequired) {
log.AppendFormat(
"- Skipped: NetInfo #{0} ({1}) - required DLC not active.\n",
i,
Expand Down

0 comments on commit e48a584

Please sign in to comment.