This commit is contained in:
Nikita Kruglickiy
2021-12-09 18:03:12 +03:00
parent ad267f034b
commit 7cdb222580
12 changed files with 252 additions and 25 deletions

View File

@@ -56,7 +56,9 @@ function MeshBuilder:initialize(link, modelPlaceholder)
end
function MeshBuilder:_sendObjects(target)
if #self._objects == 0 then return end
if not target then return end
if type(target) == "table" and #target == 0 then return end
if #self._objects == 0 then return end
net.start("objects")
for _, v in pairs(self._objects) do