Skip to content

Commit 98aac12

Browse files
authored
fix unpause issue (scp-fs2open#7427)
1 parent fdef3ea commit 98aac12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

freespace2/freespace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5433,7 +5433,7 @@ void game_leave_state( int old_state, int new_state )
54335433
common_select_close();
54345434
}
54355435

5436-
if (new_state != GS_STATE_CONTROL_CONFIG && new_state != GS_STATE_HUD_CONFIG) {
5436+
if (new_state != GS_STATE_CONTROL_CONFIG && new_state != GS_STATE_HUD_CONFIG && new_state != GS_STATE_INGAME_OPTIONS) {
54375437
// unpause all sounds, since we could be headed back to the game
54385438
// only unpause if we're in-mission; we could also be in the main hall
54395439
if (Game_mode & GM_IN_MISSION) {

0 commit comments

Comments
 (0)