diff --git a/.vs/SAMPLauncherNET/v15/.suo b/.vs/SAMPLauncherNET/v15/.suo index e4e5eaf..a39a7cb 100644 Binary files a/.vs/SAMPLauncherNET/v15/.suo and b/.vs/SAMPLauncherNET/v15/.suo differ diff --git a/SAMPLauncherNET/Properties/AssemblyInfo.cs b/SAMPLauncherNET/Properties/AssemblyInfo.cs index 74be65b..83f898c 100644 --- a/SAMPLauncherNET/Properties/AssemblyInfo.cs +++ b/SAMPLauncherNET/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.6.4")] -[assembly: AssemblyFileVersion("1.0.6.4")] +[assembly: AssemblyVersion("1.0.6.5")] +[assembly: AssemblyFileVersion("1.0.6.5")] diff --git a/SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/MainForm.cs b/SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/MainForm.cs index afc2d24..6644070 100644 --- a/SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/MainForm.cs +++ b/SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/MainForm.cs @@ -594,6 +594,7 @@ private void ReloadSelectedServerRow() row[7] = (player_count == 0U); row[8] = (player_count >= max_players); } + data_row.ItemArray = row; data_row.EndEdit(); } } @@ -1624,28 +1625,29 @@ private void multithreadedListsTimer_Tick(object sender, EventArgs e) if (data_row != null) { data_row.BeginEdit(); - object[] row_data = data_row.ItemArray; + object[] row = data_row.ItemArray; foreach (ERequestResponseType response in kv.Value) { switch (response) { case ERequestResponseType.Ping: - row_data[1] = new PingString(kv.Key.Ping); + row[1] = new PingString(kv.Key.Ping); break; case ERequestResponseType.Information: { uint player_count = kv.Key.PlayerCount; uint max_players = kv.Key.MaxPlayers; - row_data[2] = kv.Key.Hostname; - row_data[3] = new PlayerCountString(player_count, kv.Key.MaxPlayers); - row_data[4] = kv.Key.Gamemode; - row_data[5] = kv.Key.Language; - row_data[7] = (player_count <= 0); - row_data[8] = (player_count >= max_players); + row[2] = kv.Key.Hostname; + row[3] = new PlayerCountString(player_count, max_players); + row[4] = kv.Key.Gamemode; + row[5] = kv.Key.Language; + row[7] = (player_count <= 0); + row[8] = (player_count >= max_players); } break; } } + data_row.ItemArray = row; data_row.EndEdit(); kv.Value.Clear(); } diff --git a/SAMPLauncherNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/SAMPLauncherNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache index b4e5cc3..a43c6ad 100644 Binary files a/SAMPLauncherNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/SAMPLauncherNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ