Skip to content

Commit

Permalink
bumps the default fps (#4297)
Browse files Browse the repository at this point in the history
the default fps of 20 is literally so ancient it's terrible for npx when
everyone else is smooth to begin with nowadays

doesn't really need a changelog because it only applies to players
without a savefile
  • Loading branch information
harryob committed Sep 1, 2023
1 parent e738b90 commit 64fa33f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var/const/MAX_SAVE_SLOTS = 10
var/warns = 0
var/muted = 0
var/last_ip
var/fps = 20
var/fps = 60
var/last_id
var/save_cooldown = 0 //5s cooldown between saving slots
var/reload_cooldown = 0 //5s cooldown between loading slots
Expand Down
2 changes: 1 addition & 1 deletion interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
set name = "Set FPS"
set desc = "Set client FPS. 20 is the default"
set category = "Preferences"
var/fps = tgui_input_number(usr,"New FPS Value. 0 is server-sync. Higher values cause more desync. Values over 30 not recommended.","Set FPS", 0, MAX_FPS, MIN_FPS)
var/fps = tgui_input_number(usr,"New FPS Value. 0 is server-sync. Higher values cause more desync.","Set FPS", 0, MAX_FPS, MIN_FPS)
if(world.byond_version >= 511 && byond_version >= 511 && fps >= MIN_FPS && fps <= MAX_FPS)
vars["fps"] = fps
prefs.fps = fps
Expand Down

0 comments on commit 64fa33f

Please sign in to comment.