Skip to content

Commit

Permalink
#63: In the player tab, the "withdrawn" option has disappeared.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumuzy committed May 27, 2024
1 parent 251508e commit 42b0a4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file modified cfg/KeizerForClubs.config.s3db
Binary file not shown.
3 changes: 1 addition & 2 deletions src/cSqliteInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -971,8 +971,7 @@ public int Locl_GetTopicTexte(string topic, string sWhereAdd, ref string[] texte
{
int topicTexte = 0;
sqlCommand.CommandText = @" SELECT text FROM config_db.LangText WHERE code= @pCode
AND key < 8 AND topic=@pTopic " + sWhereAdd + " ORDER BY (0 + key)";
// TODO Remove ^^^^^^^^^for T51.
AND topic=@pTopic " + sWhereAdd + " ORDER BY (0 + key)";
sqlCommand.Parameters.AddWithValue("pCode", (object)LangCode);
sqlCommand.Parameters.AddWithValue("pTopic", (object)topic);
sqlCommand.Prepare();
Expand Down
4 changes: 3 additions & 1 deletion src/frmMainform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,9 @@ private void ApplyLanguageText()
ApplyPlayerStateTexte();
string[] texte = new string[20];
colPairingResult.Items.Clear();
int topicTexte2 = db.Locl_GetTopicTexte("GAMERESULT", " ", ref texte);
int topicTexte2 = db.Locl_GetTopicTexte("GAMERESULT", " AND key < '8' ", ref texte);
// TODO T51 Remove ^^^^^^^^^for T51.

for (int index = 0; index < topicTexte2; ++index)
colPairingResult.Items.Add((object)texte[index]);
colPlayerState.HeaderText = db.Locl_GetText("GUI_COLS", "Sp.Status");
Expand Down

0 comments on commit 42b0a4a

Please sign in to comment.