Removed a warning

Removed a warning in the character motor script