Skip to content

Commit

Permalink
bumps the default fps
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Aug 31, 2023
1 parent 88c90fc commit 1cb8f70
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 1cb8f70

Please sign in to comment.