about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--chessboard.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/chessboard.mu b/chessboard.mu
index a9f89da3..facf38bb 100644
--- a/chessboard.mu
+++ b/chessboard.mu
@@ -283,7 +283,7 @@ recipe read-move [
   reply-if error?:boolean, 0:literal/dummy, quit?:boolean, error?:boolean
 #?   return-to-console #? 1
   # construct the move object
-  result:address:move <- new move:literal
+  result:address:move <- new move:type
   x:address:number <- get-address result:address:move/deref, from-file:offset
   x:address:number/deref <- copy from-file:number
   x:address:number <- get-address result:address:move/deref, from-rank:offset