This commit is contained in:
Michael J. Seiferling
2018-12-01 21:22:53 -06:00
parent 7e1f7d15d5
commit 012f978741
+2 -2
View File
@@ -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)