Display third roll when playing tabula

This commit is contained in:
Trevor Slocum 2024-01-08 13:38:27 -08:00
parent 4b782c6de3
commit c677af3320

View file

@ -516,6 +516,9 @@ func (c *Client) HandleEvents() {
}
} else {
diceFormatted = fmt.Sprintf("%d-%d", Game.Roll1, Game.Roll2)
if Game.Roll3 != 0 {
diceFormatted += fmt.Sprintf("-%d", Game.Roll3)
}
}
if ev.Player == Game.Player2.Name {
c.lastActivity = time.Now()