Fix IGT start detection for when game already started
This commit is contained in:
parent
812b6e2ab1
commit
4928a82fb0
@ -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…
x
Reference in New Issue
Block a user