From 66afa7e2cb4302cf99de00693702a3503675312e Mon Sep 17 00:00:00 2001 From: wcko87 Date: Sun, 7 May 2017 20:34:18 +0800 Subject: [PATCH] Upgrade reload detection --- rabi_splitter_WPF/RabiRibiDisplay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabi_splitter_WPF/RabiRibiDisplay.cs b/rabi_splitter_WPF/RabiRibiDisplay.cs index 9cf89e0..3f0b00e 100644 --- a/rabi_splitter_WPF/RabiRibiDisplay.cs +++ b/rabi_splitter_WPF/RabiRibiDisplay.cs @@ -122,7 +122,7 @@ namespace rabi_splitter_WPF #region Detect Reload - bool reloaded = (prevSnapshot != null) && (snapshot.playtime < prevSnapshot.playtime); + bool reloading = snapshot.playtime == 0 || ((prevSnapshot != null) && (snapshot.playtime < prevSnapshot.playtime)); if (inGameState.IsGameStarted() && snapshot.playtime > 0) { if (snapshot.playtime < inGameState.lastNonZeroPlayTime)