Skip to content

Commit

Permalink
Merge pull request #1318 from CitiesSkylinesMods/speed-limits-not-vis…
Browse files Browse the repository at this point in the history
…ible-on-train-tracks

Speed limit overlay signs not visible on train tracks
  • Loading branch information
krzychu124 authored Jan 26, 2022
2 parents 768fe7f + 2397d26 commit d3e0e23
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 @@ -76,7 +76,7 @@ public bool IsCustomisable(NetInfo netinfo) {
#endif

// Must be road or track based:
if (netinfo.m_netAI is not RoadBaseAI or TrainTrackBaseAI or MetroTrackAI) {
if (!(netinfo.m_netAI is RoadBaseAI or TrainTrackBaseAI or MetroTrackAI)) {
#if DEBUG
if (debugSpeedLimits)
Log._Debug($"Skipped NetInfo '{netinfo.name}' because m_netAI is not applicable: {netinfo.m_netAI}");
Expand Down

0 comments on commit d3e0e23

Please sign in to comment.