summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-engine.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 4a04c0d..45d909e 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -282,7 +282,8 @@
(defun chess-engine-create (module game &optional response-handler
&rest handler-ctor-args)
- (let* ((engine (chess-module-create module game nil handler-ctor-args)))
+ (let* ((engine (apply 'chess-module-create module game nil
+ handler-ctor-args)))
(when engine
(with-current-buffer engine
(setq chess-engine-regexp-alist