feat: don't score own quote
This commit is contained in:
parent
ff617fc7ea
commit
5611f852b1
@ -21,7 +21,9 @@ func (gm *Game) revealSource() {
|
|||||||
|
|
||||||
for _, p := range gm.players {
|
for _, p := range gm.players {
|
||||||
selId := gm.round.selections[p.id]
|
selId := gm.round.selections[p.id]
|
||||||
if selId == PLAYER_SELECTION_EMPTY || selId == PLAYER_SELECTION_NONE {
|
if p.id == sourceId {
|
||||||
|
continue
|
||||||
|
} else if selId == PLAYER_SELECTION_EMPTY || selId == PLAYER_SELECTION_NONE {
|
||||||
continue
|
continue
|
||||||
} else if selId == sourceId {
|
} else if selId == sourceId {
|
||||||
p.score += 10
|
p.score += 10
|
||||||
|
Loading…
Reference in New Issue
Block a user