Fixed the segfault

Now for some reason the creature is not moving