Fix power gen fan sound

* Stop fan sound when switching sector
* Start fan sound when loading a save where current sector is power gen sector
This commit is contained in:
Asdow
2025-10-06 22:09:39 +03:00
parent a9dd9d0ca6
commit da83c6a557
3 changed files with 13 additions and 2 deletions
+4 -1
View File
@@ -3420,7 +3420,10 @@ void TrashWorld( void )
//Remove the schedules
DestroyAllSchedules();
#ifdef JA2UB
//Ja25 no meanwhiles
//Ja25 no meanwhiles
// But DO turn off powergen fan sound
extern void HandleRemovingPowerGenFanSound();
HandleRemovingPowerGenFanSound();
#else
// on trash world sheck if we have to set up the first meanwhile
HandleFirstMeanWhileSetUpWithTrashWorld( );