From 6105f206b81413440e45ec35a47fc22a455d9b9c Mon Sep 17 00:00:00 2001 From: FunOrange Date: Thu, 14 Oct 2021 14:03:32 -0400 Subject: [PATCH] Fix songs not being detected on newest stable/cutting edge release --- Tracker.cs | 7 ++++++- submodules/ProcessMemoryDataFinder | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Tracker.cs b/Tracker.cs index 61590c5..e605d78 100644 --- a/Tracker.cs +++ b/Tracker.cs @@ -244,7 +244,7 @@ public bool TrySwitchBeatmap() // commit to new beatmap BeatmapPath = beatmapPathTemp; currentBeatmap = BeatmapConstructorWrapper(BeatmapPath); - BeatmapBpm = (int)Math.Round(currentBeatmap.Bpm); + BeatmapBpm = (int)System.Math.Round(currentBeatmap.Bpm); BeatmapString = osuReader.GetSongString(); BeatmapSetID = (int)osuReader.GetMapSetId(); BeatmapID = osuReader.GetMapId(); @@ -541,6 +541,11 @@ public void InitGoogleAPI(bool silent = false) SetSheetsApiReady(false); return; } + catch (Exception e) + { + MessageBox.Show(e.Message); + return; + } // Get Raw Data sheet try diff --git a/submodules/ProcessMemoryDataFinder b/submodules/ProcessMemoryDataFinder index f0c9f45..4635c47 160000 --- a/submodules/ProcessMemoryDataFinder +++ b/submodules/ProcessMemoryDataFinder @@ -1 +1 @@ -Subproject commit f0c9f459e01e283b1f962deb8d7d8239a7679e9b +Subproject commit 4635c477c7f51c3eaa817e96a29f6dfcffffbd81