mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
fixing broken fsm error message
This commit is contained in:
parent
9f996f451e
commit
3b3937270f
@ -190,7 +190,7 @@ class FSM(DirectObject):
|
||||
|
||||
def getCurrentFilter(self):
|
||||
if not self.state:
|
||||
error = "requested %s while FSM is in transition from %s to %s." % (request, self.oldState, self.newState)
|
||||
error = "FSM cannot determine current filter while in transition (%s -> %s)." % (self.oldState, self.newState)
|
||||
raise AlreadyInTransition, error
|
||||
|
||||
filter = getattr(self, "filter" + self.state, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user