CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
563 stars 85 forks source link

don't save empty records in asset editor #1681

Closed kianzarrin closed 1 year ago

kianzarrin commented 1 year ago

Its redundant to add TM:PE data to an asset when there are no TM:PE rules. This redundancy has some downsides:

All this inconvenience can be avoided by not recording Traffic rules if there is none.

Changes:

TMPE.zip

kianzarrin commented 1 year ago

@krzychu124 good point. I saved traffic light move it record with old TMPE and loaded with new TMPE and it worked! both off and on state. its nice to know that binary serialization is cooperating for once!