mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Fix error "TypeError: 'NoneType' object is not iterable"
This commit is contained in:
parent
ee595ae880
commit
41deb1c00f
@ -310,7 +310,7 @@ class FSM(DirectObject):
|
||||
self.name, request, str(args)[1:]))
|
||||
|
||||
filter = self.getCurrentFilter()
|
||||
result = list(filter(request, args))
|
||||
result = filter(request, args)
|
||||
if result:
|
||||
if isinstance(result, str):
|
||||
# If the return value is a string, it's just the name
|
||||
|
Loading…
x
Reference in New Issue
Block a user