Skip to content

Commit

Permalink
Merge pull request #330 from Grange007/dev
Browse files Browse the repository at this point in the history
fix: 🐛 [playback] No changes but it works, don't know why
  • Loading branch information
DreamEnderKing authored May 8, 2024
2 parents 7940efa + 7bdd33b commit 0c5a325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logic/Client/ViewModel/GeneralViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ Show the error message

myLogger.LogInfo(String.Format("ip:{0}, port:{1}, playerid:{2}, teamid:{3}, shiptype:{4}, playbackfile:{5}, playbackspeed:{6}", ip, port, playerID, teamID, shipTypeID, playbackFile, playbackSpeed));

//Playback("E:\\program\\Project\\THUAI7\\logic\\Client\\114514.thuaipb", 2.0);
//Playback("E:\\program\\Project\\playback.thuaipb", 0.5);
if (playbackFile.Length == 0)
{
try
Expand Down Expand Up @@ -1106,6 +1106,7 @@ Show the error message
}
else
{
//myLogger.LogInfo(String.Format("PlaybackFile:{0}", playbackFile));
Playback(playbackFile, playbackSpeed);
}
//连接Server,comInfo[] 的格式:0 - ip 1 - port 2 - playerID 3 - teamID 4 - ShipType
Expand Down

0 comments on commit 0c5a325

Please sign in to comment.