aboutsummaryrefslogtreecommitdiff
path: root/internal/game/tick.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/tick.go')
-rw-r--r--internal/game/tick.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/tick.go b/internal/game/tick.go
index 21489ca..a57ea26 100644
--- a/internal/game/tick.go
+++ b/internal/game/tick.go
@@ -377,8 +377,7 @@ func (g *Game) MoveTick() {
continue
}
p.MoveTicks--
- if p.MoveTicks > 0 {
- } else {
+ if p.MoveTicks == 0 {
g.completeMove(sess, p)
g.writePrompt(sess)
}