1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 18:35:20 +02:00

Add check to pause game on lost window focus

This commit is contained in:
rubenwardy
2017-09-10 03:17:47 +01:00
committed by paramat
parent 2153965cf9
commit 0bcc2f33eb
4 changed files with 15 additions and 0 deletions

View File

@@ -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