Skip to content

Commit

Permalink
修复生成快照失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CHKZL committed Sep 21, 2024
1 parent 4617661 commit 7bf55a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/RuntimeObject/Download/Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static (bool state, string message) CreateRecordingSnapshot(long Uid)

try
{
if (Card.DownInfo.DownloadFileList.SnapshotGenerationInProgress) Card.DownInfo.DownloadFileList.SnapshotGenerationInProgress = true;
if (!Card.DownInfo.DownloadFileList.SnapshotGenerationInProgress) Card.DownInfo.DownloadFileList.SnapshotGenerationInProgress = true;
else return (false, "当前房间已有快照正在生成中");

string videoFile = Card.DownInfo.DownloadFileList.CurrentOperationVideoFile;
Expand Down

0 comments on commit 7bf55a4

Please sign in to comment.