Fixed game crashing when loading a map without lua assigned to it