Skip to content

Instantly share code, notes, and snippets.

@schalkburger
Last active February 28, 2021 14:21
Show Gist options
  • Save schalkburger/fc2343cf61a73a3364d1e037281c5c5e to your computer and use it in GitHub Desktop.
Save schalkburger/fc2343cf61a73a3364d1e037281c5c5e to your computer and use it in GitHub Desktop.
CS:GO Alt + Tab FPS Fix
// This command can be used to disable, lengthen or shorten, the "sleeping" of the game engine when you are tabbed out, or CS:GO is not your current active window. Usually, when you tab out of CS:GO, the engine will "sleep" for a set amount of milliseconds (repeatedly) to reduce power and resource usage - this will lower your FPS and lag any locally hosted servers when tabbing out. Set this to 0 to completely disable the sleeping of the engine when tabbed out.
engine_no_focus_sleep 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment