bugfix
This commit is contained in:
parent
62dce76339
commit
e9c115fae4
1 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ function module.init(shared)
|
||||||
mount(self,parent)
|
mount(self,parent)
|
||||||
end
|
end
|
||||||
-- prevent gc
|
-- prevent gc
|
||||||
((type(object) == "table" and object.__object) or object):GetPropertyChamgedSignal "ClassName":Connect(function()
|
((type(object) == "table" and object.__object) or object):GetPropertyChangedSignal "ClassName":Connect(function()
|
||||||
return self;
|
return self;
|
||||||
end);
|
end);
|
||||||
return self;
|
return self;
|
||||||
|
|
@ -227,7 +227,7 @@ function module.init(shared)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- prevnet gc
|
-- prevnet gc
|
||||||
((type(object) == "table" and object.__object) or object):GetPropertyChamgedSignal "ClassName":Connect(function()
|
((type(object) == "table" and object.__object) or object):GetPropertyChangedSignal "ClassName":Connect(function()
|
||||||
return self;
|
return self;
|
||||||
end);
|
end);
|
||||||
if lastObject then -- remove old instance
|
if lastObject then -- remove old instance
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue