Clear signal speed restriction at game shutdown
This commit is contained in:
@@ -118,6 +118,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
|
||||
|
||||
FreeSignalPrograms();
|
||||
FreeSignalDependencies();
|
||||
|
||||
ClearAllSignalSpeedRestrictions();
|
||||
|
||||
ClearZoningCaches();
|
||||
|
@@ -439,6 +439,9 @@ static void ShutdownGame()
|
||||
FreeSignalPrograms();
|
||||
FreeSignalDependencies();
|
||||
|
||||
extern void ClearAllSignalSpeedRestrictions();
|
||||
ClearAllSignalSpeedRestrictions();
|
||||
|
||||
ClearZoningCaches();
|
||||
ClearOrderDestinationRefcountMap();
|
||||
|
||||
|
Reference in New Issue
Block a user