Fix assigning match points when double offer is declined
This commit is contained in:
parent
8acfc83de6
commit
6313f6fca8
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ COMMANDS:
|
|||
reset = true
|
||||
}
|
||||
} else {
|
||||
clientGame.Player1.Points = clientGame.Player2.Points + clientGame.DoubleValue
|
||||
clientGame.Player1.Points = clientGame.Player1.Points + clientGame.DoubleValue
|
||||
if clientGame.Player1.Points >= clientGame.Points {
|
||||
clientGame.Winner = 1
|
||||
clientGame.Ended = time.Now()
|
||||
|
|
Loading…
Reference in a new issue