From 012f978741ae86f05618725d4533cc1d6d22b822 Mon Sep 17 00:00:00 2001 From: "Michael J. Seiferling" Date: Sat, 1 Dec 2018 21:22:53 -0600 Subject: [PATCH] Fix #173 --- GBM/Forms/frmMain.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb index 839b4dd..bed7bcf 100644 --- a/GBM/Forms/frmMain.vb +++ b/GBM/Forms/frmMain.vb @@ -731,8 +731,8 @@ Public Class frmMain oProcess.GameInfo.Hours = Math.Round(dCurrentHours, 5) 'Update original object with the new hours without reloading entire list. - If hshScanList.Contains(oProcess.GameInfo.ProcessName) Then - DirectCast(hshScanList.Item(oProcess.GameInfo.ProcessName), clsGame).Hours = oProcess.GameInfo.Hours + If hshScanList.Contains(oProcess.GameInfo.ID) Then + DirectCast(hshScanList.Item(oProcess.GameInfo.ID), clsGame).Hours = oProcess.GameInfo.Hours End If mgrMonitorList.DoListUpdate(oProcess.GameInfo)