Fixed Actor.parent

Can be None or an Actor
This commit is contained in:
Daraan 2024-02-19 15:51:36 +01:00 committed by Blyron
parent 951fcc4cc9
commit be8735fc28
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."""
...