Skip to content
Browse files

Rewrite note about flying motion

  • Loading branch information...
1 parent 0fe4270 commit 796c555b6bf8011fe95064c69c4d93eb2d79327e @palfrey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clostridium/core.clj
2 src/clostridium/core.clj
@@ -155,7 +155,7 @@
(assoc b :pc initial)
(not= (apply + (map #(Math/abs %) dir)) 1)
- (throw (Exception. "Don't support directions with a magnitude other than 1"))
+ (throw (Exception. (print-str "Don't like flying motion!" dir initial)))
(assoc b :pc (reverse (jumpPC (:grid b) (reverse initial) (reverse dir))))

0 comments on commit 796c555

Please sign in to comment.
Something went wrong with that request. Please try again.