提交测试代码
This commit is contained in:
@@ -7,7 +7,7 @@ public sealed class SocialUnitDestroySystem : DestroySystem<SocialUnit>
|
||||
{
|
||||
protected override void Destroy(SocialUnit self)
|
||||
{
|
||||
self.Role.Return();
|
||||
self.Role?.Return();
|
||||
self.Role = null;
|
||||
self.GateRouteId = 0;
|
||||
// 退出当前ChatUnit拥有的所有频道
|
||||
|
||||
Reference in New Issue
Block a user