From c94bafffe6ccb78b62735782d4a2299cd42d5c81 Mon Sep 17 00:00:00 2001 From: Hakoyu Date: Wed, 20 Sep 2023 23:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet.ModMaker/Models/ModModel/ModInfoModel.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VPet.ModMaker/Models/ModModel/ModInfoModel.cs b/VPet.ModMaker/Models/ModModel/ModInfoModel.cs index 914d5f8..f0ca72c 100644 --- a/VPet.ModMaker/Models/ModModel/ModInfoModel.cs +++ b/VPet.ModMaker/Models/ModModel/ModInfoModel.cs @@ -370,9 +370,7 @@ public class ModInfoModel : I18nModel var count = 0; foreach (var anime in animes) { - var imagePath = Path.Combine(animePath, count.ToString()); - Directory.CreateDirectory(imagePath); - SaveImages(Path.Combine(imagePath, count.ToString()), anime); + SaveImages(Path.Combine(animePath, count.ToString()), anime); count++; } }