From 17c3c374748f4fb4fde2542e702c9168f858419d Mon Sep 17 00:00:00 2001 From: Jarr3 Date: Sun, 5 Nov 2023 12:57:44 +0100 Subject: [PATCH] #69 All rollover lights go on at the same time, should not crash other tables --- .../b2sbackglassserverexe/Forms/formBackglass.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2sbackglassserverexe/b2sbackglassserverexe/Forms/formBackglass.vb b/b2sbackglassserverexe/b2sbackglassserverexe/Forms/formBackglass.vb index 7bfff7f..4083dfa 100644 --- a/b2sbackglassserverexe/b2sbackglassserverexe/Forms/formBackglass.vb +++ b/b2sbackglassserverexe/b2sbackglassserverexe/Forms/formBackglass.vb @@ -1946,7 +1946,7 @@ Public Class formBackglass End If ' add info to rom collection If romid > 0 AndAlso picboxtype = B2SPictureBox.ePictureBoxType.StandardImage AndAlso romidtype <> B2SBaseBox.eRomIDType.Mech Then - Dim key As String = If(rominverted, "I", "") & Choose(romidtype, "L", "S", "GI") & romid.ToString() & romidvalue.ToString() + Dim key As String = If(rominverted, "I", "") & Choose(romidtype, "L", "S", "GI") & romid.ToString() & If(romidvalue > 0, romidvalue.ToString(), "") If picbox.DualMode = B2SData.eDualMode.Both OrElse picbox.DualMode = B2SData.eDualMode.Authentic Then If roms4Authentic.ContainsKey(key) Then roms4Authentic(key) += size.Width * size.Height Else roms4Authentic.Add(key, size.Width * size.Height) End If