Fixed Actor.parent

Can be None or an Actor
This commit is contained in:
Daraan 2024-02-19 15:51:36 +01:00
parent 6788f7d9aa
commit c3660aa47b
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Actor():
...
@property
def parent() -> ["Actor"]:
def parent() -> Union["Actor", None]:
"""Actors may be attached to a parent actor that they will follow around. This is said actor."""
...