diff --git a/shapes.lua b/shapes.lua index 6e9ed2d..493e90a 100644 --- a/shapes.lua +++ b/shapes.lua @@ -27,7 +27,7 @@ THE SOFTWARE. local math_min, math_sqrt, math_huge = math.min, math.sqrt, math.huge local _PACKAGE = (...):match("^(.+)%.[^%.]+") -if not common and common.class then +if not (common and common.class and common.instance) then class_commons = true require(_PACKAGE .. '.class') end