Commit db7c72af authored by 花桃白音's avatar 花桃白音

update

parent 226a79ce
No preview for this file type
......@@ -362,14 +362,16 @@ namespace cardvisa
var cardd = datassets[i];
var code = cardd.id;
var cti = new CardTypeInfo(cardd.type);
bool otbug = (cardd.ot != 4);
bool otbug = settings.packDIY ? (cardd.ot != 4) : false;
if ((cardd.alias == 0 && cti.IsNeedScript())|| otbug)//非同名卡
{
string parentpath = Path.GetDirectoryName(pathName);
bool lualost = !File.Exists(parentpath + "\\script\\c" + code + ".lua");
bool piclost = !File.Exists(parentpath + "\\pics\\" + code + ".jpg");
if (lualost || piclost) {
lostedFiles += "\r\n【" + code.ToString() + "】:"
lostedFiles += "\r\n"
+"【" + code.ToString() + "】"
+ textssets[i].name + ":"
+ (lualost ? "脚本丢失" : "")
+ (lualost && piclost ? "," : "")
+ (piclost ? "图片丢失" : "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment