aboutsummaryrefslogtreecommitdiff
path: root/prefabs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'prefabs.scm')
-rw-r--r--prefabs.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefabs.scm b/prefabs.scm
index 585d4b5..798375a 100644
--- a/prefabs.scm
+++ b/prefabs.scm
@@ -114,7 +114,7 @@
(if (not entry)
#f
;; instance fields prepended → highest priority
- (let* ((base (append (list #:x x #:y y #:width w #:height h)
+ (let* ((base (append (make-entity x y w h)
(cdr entry)))
(hook-val (entity-ref base #:on-instantiate #f))
(handler