ActorList.filter actually returns ActorList

This commit is contained in:
Daniel 2024-04-03 19:00:32 +02:00 committed by Blyron
parent 1d4450b026
commit 4c086ad7d9
1 changed files with 2 additions and 2 deletions

View File

@ -487,14 +487,14 @@ class ActorList():
"""
# region Methods
def filter(self, wildcard_pattern: str) -> list:
def filter(self, wildcard_pattern: str) -> ActorList:
"""Filters a list of Actors matching wildcard_pattern against their variable `type_id` (which identifies the blueprint used to spawn them). Matching follows fnmatch standard.
Args:
`wildcard_pattern (str)`\n
Returns:
`list`\n
`ActorList`\n
"""
...