From b7072612e9d01c801aa37794af4bfbfc254036e6 Mon Sep 17 00:00:00 2001 From: Justin Shannon Date: Mon, 22 Nov 2021 18:51:40 -0800 Subject: [PATCH] Fix typo in frame rate check logic --- plugin/src/FrameRateMonitor.cpp | 2 +- xpilot.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/FrameRateMonitor.cpp b/plugin/src/FrameRateMonitor.cpp index 2789c177..ae345baa 100644 --- a/plugin/src/FrameRateMonitor.cpp +++ b/plugin/src/FrameRateMonitor.cpp @@ -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()) diff --git a/xpilot.json b/xpilot.json index 38603573..534d2954 100644 --- a/xpilot.json +++ b/xpilot.json @@ -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,