提交 607e28e7 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 af9acf68
...@@ -100,7 +100,10 @@ def create_trails(parent): ...@@ -100,7 +100,10 @@ def create_trails(parent):
pos = parent.position pos = parent.position
except Exception as e: except Exception as e:
print(parent.body_view.body) print(parent.body_view.body)
parent.destroy_all() if not hasattr(parent, "destroy_all"):
parent.destroy_all()
return
if not hasattr(parent, "trails"):
return return
trails_keys = parent.trails.keys() trails_keys = parent.trails.keys()
trail_int_scale = 1.2 trail_int_scale = 1.2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册