Skip to content

Commit

Permalink
Merge pull request #21 from AshtakaOOf/60fps
Browse files Browse the repository at this point in the history
Make fps thing not schizo
  • Loading branch information
xTrayambak authored Dec 30, 2024
2 parents 702a7af + 2fb3ff1 commit 4aa2172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shell/core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ method view(app: LucemShellState): Widget =

proc changed(state: bool) =
app.showFpsCapOpt = not app.showFpsCapOpt
app.config[].client.fps = if state: 9999 else: 60
app.config[].client.fps = if state: 60 else: 60

debug "shell: disable/enable fps cap button state: " &
$app.showFpsCapOpt
Expand Down Expand Up @@ -515,7 +515,7 @@ proc initLucemShell*(input: Input) {.inline.} =
LucemShell(
config = addr(config),
state = ShellState.Lucem,
showFpsCapOpt = config.client.fps != 9999,
showFpsCapOpt = config.client.fps != 60,
showFpsCapBuff = $config.client.fps,
discordRpcOpt = config.lucem.discordRpc,
telemetryOpt = config.client.telemetry,
Expand Down

0 comments on commit 4aa2172

Please sign in to comment.