Implemented compatibility with level editor