Compare commits

..

2 Commits

1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ func (this *PolicyClawdoll) OnStart(s *base.Scene) {
func (this *PolicyClawdoll) OnStop(s *base.Scene) {
logger.Logger.Trace("(this *PolicyClawdoll) OnStop , sceneId=", s.GetSceneId())
sceneEx, ok := s.ExtraData.(*SceneEx)
if ok {
sceneEx.ShutDown()
}
}
func (this *PolicyClawdoll) OnTick(s *base.Scene) {