aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2020-09-20 21:52:10 +0200
committerJoop Kiefte <ikojba@gmail.com>2020-09-20 21:52:10 +0200
commit2eb179b4c63de8fe9e18972aab4f10912a63f817 (patch)
tree0010c4d7d328d0ef3288e62f11fc10a51827c4de
parentc3da6b22c767d79970d98df181bf5eb89bf55b93 (diff)
Fix swap in place bugv1.1.0
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index a07ca96..3f91622 100644
--- a/main.go
+++ b/main.go
@@ -123,6 +123,7 @@ func main() {
rot = (p.Rot + 3) % 4
case 'c':
b, p = b.Swap(p)
+ continue
case ' ':
if !harddrop {
dropfrom = p.Y