Skip to content

Commit 4d15094

Browse files
committed
fix create outputFile name for RDR 2
1 parent 4cc9530 commit 4d15094

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Commands.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ internal static Int32 CreateFunction(String format, String? imageFile, String? d
5050
File.Move(tempFile, outputFile, true);
5151
}
5252
else {
53-
outputFile = $"{photo.Format switch {
54-
PhotoFormat.GTA5 => "PGTA5",
55-
PhotoFormat.RDR2 => "PRDR3",
56-
_ => String.Empty
57-
}}{uid}";
53+
outputFile = photo.Format switch {
54+
PhotoFormat.GTA5 => $"PGTA5{uid}",
55+
PhotoFormat.RDR2 => $"PRDR3{uid}_1",
56+
_ => $"{uid}"
57+
};
5858
File.Move(tempFile, outputFile, true);
5959
Console.WriteLine(outputFile);
6060
}

0 commit comments

Comments
 (0)