aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2017-09-10 03:17:47 +0100
committerparamat <mat.gregory@virginmedia.com>2017-12-26 21:53:45 +0000
commit0bcc2f33ebe382a1dafbe6edaf00f476f2584b74 (patch)
treed5dd0822bdee5ed00f87ba566e1e3c2ff9bfaa2f /builtin
parent2153965cf92ab61b0d7e095cf3c2755924fdc221 (diff)
downloadminetest-0bcc2f33ebe382a1dafbe6edaf00f476f2584b74.tar.gz
minetest-0bcc2f33ebe382a1dafbe6edaf00f476f2584b74.tar.bz2
minetest-0bcc2f33ebe382a1dafbe6edaf00f476f2584b74.zip
Add check to pause game on lost window focus
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 0d5978911..024018869 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -536,6 +536,9 @@ fps_max (Maximum FPS) int 60
# Maximum FPS when game is paused.
pause_fps_max (FPS in pause menu) int 20
+# Open the pause menu when the window's focus is lost. Does not pause if a formspec is open.
+pause_on_lost_focus (Pause on lost window focus) bool false
+
# View distance in nodes.
viewing_range (Viewing range) int 100 20 4000