Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTL can't be activated via button (patch 1.3.0/Snowfall) #34

Open
Craxy opened this issue Feb 18, 2016 · 1 comment
Open

TTL can't be activated via button (patch 1.3.0/Snowfall) #34

Craxy opened this issue Feb 18, 2016 · 1 comment
Assignees
Labels

Comments

@Craxy
Copy link
Owner

Craxy commented Feb 18, 2016

throws IndexOutOfRangeException:

IndexOutOfRangeException: Array index is out of range.
  at RoadsOptionPanel+c__AnonStorey10B.<>m__172 (ColossalFramework.UI.UIComponent sender, Int32 index) [0x00000] in :0 
  at (wrapper delegate-invoke) ColossalFramework.UI.PropertyChangedEventHandler`1:invoke_void__this___UIComponent_int (ColossalFramework.UI.UIComponent,int)
  at ColossalFramework.UI.UITabstrip.OnSelectedIndexChanged () [0x00000] in :0 
  at ColossalFramework.UI.UITabstrip.SelectTabByIndex (Int32 value) [0x00000] in :0 
  at ColossalFramework.UI.UITabstrip.set_selectedIndex (Int32 value) [0x00000] in :0 
  at Craxy.CitiesSkylines.ToggleTrafficLights.Game.Threading.OnUpdate (Single realTimeDelta, Single simulationTimeDelta) [0x00000] in :0 
  at ThreadingWrapper.OnUpdate (Single realTimeDelta, Single simulationTimeDelta) [0x00000] in :0 
  at SimulationManager.Update () [0x00000] in :0 

CS now throws Exception when UITabstrip.selectedIndex is set to -1

@Craxy Craxy added the bug label Feb 18, 2016
@Craxy Craxy self-assigned this Feb 18, 2016
@Craxy
Copy link
Owner Author

Craxy commented Feb 18, 2016

Interim-fix in 2f079d0: The active button in the Roadsmenu doesn't get deselected when TTL is actived. That button cannot be clicked any more to deactivate TTL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant