Fixed crash on duplicate

This commit is contained in:
andreja6
2018-10-24 11:07:27 -07:00
parent 07a2eb4d98
commit 2c65001536
2 changed files with 4 additions and 3 deletions

View File

@@ -25,8 +25,8 @@ PhysicalInstance::PhysicalInstance(void)
PhysicalInstance::PhysicalInstance(const PhysicalInstance &oinst)
{
Instance::Instance(oinst);
name = oinst.name;
className = "Part";
//name = oinst.name;
//className = "Part";
canCollide = oinst.canCollide;
setParent(oinst.parent);
anchored = oinst.anchored;