Fix IGT start detection for when game already started

rabi_display
wcko87 8 years ago
parent 812b6e2ab1
commit 4928a82fb0
  1. 3
      rabi_splitter_WPF/RabiRibiDisplay.cs

@ -51,7 +51,8 @@ namespace rabi_splitter_WPF
if (inGameState.CurrentActivityIs(InGameActivity.STARTING)) { if (inGameState.CurrentActivityIs(InGameActivity.STARTING)) {
// Detect start game // Detect start game
if (0 < snapshot.playtime && snapshot.playtime < 200) if (0 < snapshot.playtime && snapshot.playtime < 200 ||
(prevSnapshot != null && prevSnapshot.playtime < snapshot.playtime && snapshot.playtime < prevSnapshot.playtime + 200))
{ {
inGameState.currentActivity = InGameActivity.WALKING; inGameState.currentActivity = InGameActivity.WALKING;
DebugLog("IGT start?"); DebugLog("IGT start?");

Loading…
Cancel
Save