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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user