Skip to content

Commit

Permalink
Fix typo in frame rate check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshannon committed Nov 23, 2021
1 parent 27f4507 commit b707261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/src/FrameRateMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace xpilot

float fps = 1 / monitor->m_frameRatePeriod;

if (fps > 20.0f)
if (fps < 20.0f)
{
float elapsed = monitor->m_stopwatch.elapsed(xpilot::Stopwatch::SECONDS);
if (!monitor->m_stopwatch.isRunning())
Expand Down
2 changes: 1 addition & 1 deletion xpilot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"github_url": "https://api.github.com/repos/xpilot-project/xpilot/",
"is_beta": true,
"beta_number": 1,
"beta_number": 2,
"version": {
"major": 2,
"minor": 0,
Expand Down

0 comments on commit b707261

Please sign in to comment.