提交 d7d1e4ff 编写于 作者: T tanghai

修复Scene构造函数没有设置InstanceId的bug

上级 07873287
......@@ -23,10 +23,12 @@
public Scene()
{
this.InstanceId = IdGenerater.GenerateId();
}
public Scene(long id): base(id)
{
this.InstanceId = IdGenerater.GenerateId();
}
public override void Dispose()
......
namespace ETHotfix
using ETModel;
namespace ETHotfix
{
public enum SceneType
{
......@@ -23,10 +25,12 @@
public Scene()
{
this.InstanceId = IdGenerater.GenerateId();
}
public Scene(long id): base(id)
{
this.InstanceId = IdGenerater.GenerateId();
}
public override void Dispose()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册