From 258527750cea3372a932552e0f18cd48e132def5 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 28 Sep 2018 18:35:12 -0700 Subject: Slightly more robust. --- code_obj.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code_obj.lua') diff --git a/code_obj.lua b/code_obj.lua index 5be92e6..577eaf3 100644 --- a/code_obj.lua +++ b/code_obj.lua @@ -355,7 +355,7 @@ do local _list_1 = self.bits for _index_0 = 1, #_list_1 do local bit = _list_1[_index_0] - if bit.__class == LuaCode then + if not (type(bit) == 'string') then gather_from(bit) end end -- cgit v1.2.3