Skip to content

Commit

Permalink
bugfix: allow to set FPS from -1 to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Jul 28, 2024
1 parent f56a80c commit bbb8ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/client/preference/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
organ_data[organ] = "cybernetic"

if("clientfps")
var/desiredfps = tgui_input_number(user, "Выберите желаемый FPS.\n 0 = значение по умолчанию ([CONFIG_GET(number/clientfps)]) < РЕКОМЕНДОВАНО\n -1 = синхронизировано с сервером ([world.fps])\n20/40/50 = Может помочь при проблемах с плавностью.", "Character Preference", clientfps, 120, world.fps)
var/desiredfps = tgui_input_number(user, "Выберите желаемый FPS.\n 0 = значение по умолчанию ([CONFIG_GET(number/clientfps)]) < РЕКОМЕНДОВАНО\n -1 = синхронизировано с сервером ([world.fps])\n20/40/50 = Может помочь при проблемах с плавностью.", "Character Preference", clientfps, 120, -1)
if(!isnull(desiredfps))
clientfps = desiredfps
if(clientfps)
Expand Down

0 comments on commit bbb8ba1

Please sign in to comment.