Skip to content

Commit

Permalink
Update PreferencesMenu.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Sep 28, 2024
1 parent 7a1cf99 commit 5d8c613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/ui/options/PreferencesMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class PreferencesMenu extends Page
Preferences.unlockedFramerate = value;
}, Preferences.unlockedFramerate);
#else
createPrefItemNumber('FPS Cap', 'The framerate that the game is running on', function(value:Float) {
createPrefItemNumber('FPS Cap', 'Set the current frame rate cap of the game', function(value:Float) {
Preferences.framerate = Std.int(value);
}, null, Preferences.framerate, #if mobile 60 #else 30 #end, 360, 1, 0);
#end
Expand All @@ -166,7 +166,7 @@ class PreferencesMenu extends Page
createPrefItemCheckbox('Debug Display', 'Enable to show FPS and other debug stats', function(value:Bool):Void {
Preferences.debugDisplay = value;
}, Preferences.debugDisplay);
createPrefItemCheckbox('Auto Pause', 'Automatically pause the game when it loses focus', function(value:Bool):Void {
createPrefItemCheckbox('Auto Pause', 'Enable so it automatically pauses the game when it loses focus', function(value:Bool):Void {
Preferences.autoPause = value;
}, Preferences.autoPause);

Expand Down

0 comments on commit 5d8c613

Please sign in to comment.