gemercheung %!s(int64=3) %!d(string=hai) anos
pai
achega
2170eb78ef
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      src/scene/scene.service.ts

+ 1 - 5
src/scene/scene.service.ts

@@ -360,12 +360,8 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
       this.latestWalkingRequest = null;
       this.handleWalking(request);
     }
-    //TODO 确保moveSliceLastFrameSub不会重复
-    // if (this.moveSliceLastFrameSub) {
+
     console.log('moveSliceLastFrameSub', this.moveSliceLastFrameSub);
-    //   this.moveSliceLastFrameSub.unsubscribe();
-    //   this.moveSliceLastFrameSub = null;
-    // }
 
     // 监听每小段最后一帧
     if (!this.moveSliceLastFrameSub) {