This commit is contained in:
flswld
2023-04-11 00:41:08 +08:00
parent 4bf41183ae
commit e50747e441
12 changed files with 167 additions and 108 deletions
-4
View File
@@ -304,10 +304,6 @@ func UpdateFrame(rgb bool) {
}
world := WORLD_MANAGER.GetAiWorld()
scene := world.GetSceneById(3)
if scene == nil {
logger.Error("scene is nil, sceneId: %v", 3)
return
}
for _, v := range SCREEN_ENTITY_ID_LIST {
scene.DestroyEntity(v)
}