Is it expected for a PythonController to be activated twice when a MessageSensor is activated via bge.logic.sendMessage?
If I do this:
bge.logic.sendMessage(“a_subject”, “a_body”)
My PythonController is activated once with body “a_body” and again with no body whatsoever. I’ve been checking the length of the message body to disregard the second undesired message.
Any ideas?