No module named ... on internal script

Hi,

I have linked my player file to another file. The problem is that it doesn’t finds the module. If I run the player file it works.

On Blender version 2.49 and up to 2.52 it works when I choose the script name on the controller and switch to the module. But in 2.63a if I switch back to modules the script name gets deleted.

Any ideas what’s going on? Thanks in advance.

I found a way which works.

I just added a new intital state where I initalize every script with the python controller (marked execution before all others) just with an always sensor. Now it finds the modules and everything works as it should.

But I assume this might not be the right way and I did something wrong?