Commit 097f7edc authored by nanahira's avatar nanahira

change default replay name

parent 307a6e75
...@@ -2711,11 +2711,11 @@ public class Ocgcore : ServantWithCardDescription ...@@ -2711,11 +2711,11 @@ public class Ocgcore : ServantWithCardDescription
{ {
if (File.Exists("replay/" + TcpHelper.lastRecordName + ".yrp3d")) if (File.Exists("replay/" + TcpHelper.lastRecordName + ".yrp3d"))
{ {
if (File.Exists("replay/" + "-lastReplay" + ".yrp3d")) if (File.Exists("replay/lastReplay.yrp3d"))
{ {
File.Delete("replay/" + "-lastReplay" + ".yrp3d"); File.Delete("replay/lastReplay.yrp3d");
} }
File.Move("replay/" + TcpHelper.lastRecordName + ".yrp3d", "replay/-lastReplay.yrp3d"); File.Move("replay/" + TcpHelper.lastRecordName + ".yrp3d", "replay/lastReplay.yrp3d");
} }
} }
catch (Exception e) catch (Exception e)
......
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