mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-07-07 12:28:55 +00:00
fixed typo, got push-test in brain-test working
This commit is contained in:
parent
42dade809c
commit
8091e1f216
@ -10,7 +10,7 @@
|
||||
the parameters except the vector path to the register val, which is provided by
|
||||
the let clojure."
|
||||
[reg-name robot-idx read-func write-func val]
|
||||
(let [path-to-val [:robots robot-idx :register reg-name :val]]
|
||||
(let [path-to-val [:robots robot-idx :registers reg-name :val]]
|
||||
{reg-name {:read (fn [world]
|
||||
(read-func world path-to-val))
|
||||
:write (fn [world data]
|
||||
|
Loading…
Reference in New Issue
Block a user