wrap makeCC in runWithErrorChecking

This commit is contained in:
2023-09-24 12:32:34 -06:00
parent 914ff047b1
commit 9d895007d6

View File

@@ -1,11 +1,12 @@
(defMacro makeCC [&body b] (defMacro makeCC [&body b]
`->:Void {,@b}) `->:Void [] (runWithErrorChecking ->:Void {,@b}))
(function dynamicArray [&rest :Array<Dynamic> elements] (function dynamicArray [&rest :Array<Dynamic> elements]
elements) elements)
// This file is designed to be loaded again by subclasses, with macroVar "subclass" set // This file is designed to be loaded again by subclasses, with macroVar "subclass" set
(#unless subclass (#unless subclass
// Settings // Settings
(savedVar :Bool showCaptions false) (savedVar :Bool showCaptions false)
(savedVar :PlayMode playMode NotSet) (savedVar :PlayMode playMode NotSet)