MacSergey / BuildingSpawnPoints

9 stars 1 forks source link

Call to RoadCheckNeeded after spawnpoint change. #34

Open DaEgi01 opened 1 year ago

DaEgi01 commented 1 year ago

A player that uses the https://github.com/DaEgi01/CitiesSkylines-CheckRoadAccessForGrowables mod complained that moving a spawnpoint with BSP mod does not trigger a revaluation of the road access and thus leads to a stuck road access needed icon.

Calling BuildingManager.instance.RoadCheckNeeded(ushort building); after the player changes a spawnpoint location allows the game to understand that something has happened that requires another RoadCheck. That should fix the issues.

Could you please add that to the mod?