From 8318dd19e1c0b480dbc3fb680ae4fbf6bb833764 Mon Sep 17 00:00:00 2001 From: wcko87 Date: Thu, 4 May 2017 18:24:07 +0800 Subject: [PATCH] fix IGT start 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 194cc6f..9e7db88 100644 --- a/rabi_splitter_WPF/RabiRibiDisplay.cs +++ b/rabi_splitter_WPF/RabiRibiDisplay.cs @@ -59,7 +59,7 @@ namespace rabi_splitter_WPF if (gameState.CurrentActivityIs(GameActivity.STARTING)) { // Detect start game - if (snapshot.playtime < 200) + if (0 < snapshot.playtime && snapshot.playtime < 200) { gameState.currentActivity = GameActivity.WALKING; DebugLog("IGT start?");