Skip to content

Commit

Permalink
add log #631
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Sep 16, 2024
1 parent 83e6798 commit 6414210
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BetterGenshinImpact/GameTask/AutoPathing/PathRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ public void AddWaypoint(string waypointType = "")

public void Save()
{
_pathingTask.SaveToFile(Path.Combine(MapPathingViewModel.PathJsonPath, $@"{DateTime.Now:yyyyMMdd_HHmmss}.json"));
var name = $@"{DateTime.Now:yyyyMMdd_HHmmss}.json";
_pathingTask.SaveToFile(Path.Combine(MapPathingViewModel.PathJsonPath, name));
TaskControl.Logger.LogInformation("已保存路径点记录:{Name}", name);
}
}

0 comments on commit 6414210

Please sign in to comment.