Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions freespace2/freespace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4753,6 +4753,11 @@ int game_check_key()

bool pause_if_unfocused()
{
// nobody is at the keyboard in a noninteractive run, so losing focus must not stop it
if (Cmdline_noninteractive) {
return false;
}

if (Using_in_game_options) {
return UnfocusedPauseOption->getValue();
} else {
Expand Down
Loading