Skip to content

Commit

Permalink
Dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Apr 16, 2024
1 parent b599c35 commit f4c69f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prefab.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@

(defmacro do-nodes% ((node instance id) &body body)
(etypecase id
(string
`(let ((,node (node ,id ,instance)))
,@body))
((member NIL T)
`(let ((,node ,instance))
,@body))
((or string symbol real)
`(let ((,node (node ,id ,instance)))
,@body))
(cons
`(do-scene-graph (,node ,instance)
(when (funcall ,id ,node)
Expand Down

0 comments on commit f4c69f6

Please sign in to comment.