Logging added points
This commit is contained in:
@ -20,10 +20,16 @@ namespace WinGreed
|
||||
{
|
||||
var nextLvInstance = lvMemberList.Items[NextLvItem()];
|
||||
var nextPlayerName = nextLvInstance.Text;
|
||||
fPR = new frmPersonRound(nextPlayerName);
|
||||
fPR.TotPoints = int.Parse(nextLvInstance.SubItems[2].Text);
|
||||
fPR.ShowDialog();
|
||||
nextLvInstance.SubItems[2].Text = fPR.TotPoints.ToString();
|
||||
|
||||
if (!GameOver || (GameOver && nextLvInstance != gocFirst.lvsave))
|
||||
{
|
||||
fPR = new frmPersonRound(nextPlayerName);
|
||||
fPR.TotPoints = int.Parse(nextLvInstance.SubItems[2].Text);
|
||||
fPR.ShowDialog();
|
||||
nextLvInstance.SubItems[2].Text = fPR.TotPoints.ToString();
|
||||
lstLogBox.Items.Add($"{nextPlayerName} -> {fPR.AddedPoints} po<70>ng.");
|
||||
}
|
||||
|
||||
if (GameOver)
|
||||
{
|
||||
if (nextLvInstance == gocFirst.lvsave)
|
||||
|
||||
Reference in New Issue
Block a user