diff org/test-creature.org @ 122:b591da250afc

fixed bug in test code.
author Robert McIntyre <rlm@mit.edu>
date Sun, 22 Jan 2012 04:53:58 -0700
parents 05e60a0ed043
children 91773e8ec50f
line wrap: on
line diff
     1.1 --- a/org/test-creature.org	Sat Jan 21 09:55:59 2012 -0700
     1.2 +++ b/org/test-creature.org	Sun Jan 22 04:53:58 2012 -0700
     1.3 @@ -872,7 +872,7 @@
     1.4     (fn [world]
     1.5       (light-up-everything world)
     1.6       (enable-debug world)
     1.7 -     (map #(% world) init-vision-fns)
     1.8 +     (dorun (map #(% world) init-vision-fns))
     1.9       
    1.10       (add-eye world
    1.11                (attach-eye creature (test-eye))