fix build.generate error on stadium maps.