Commit dfdd7e55 authored by nanahira's avatar nanahira

fix

parent 88ae5869
...@@ -150,7 +150,9 @@ export class YGOTournamentPlugin { ...@@ -150,7 +150,9 @@ export class YGOTournamentPlugin {
const player2Name = tournament.getParticipantFromParticipantId( const player2Name = tournament.getParticipantFromParticipantId(
currentMatchInfo.player2_id, currentMatchInfo.player2_id,
).participant.name; ).participant.name;
return `您当前的对局信息:\n${player1Name}\t${currentMatchInfo.scores_csv}\t${player2Name}`; return `您当前的对局信息:\n${player1Name}\t${
currentMatchInfo.scores_csv || '未开始'
}\t${player2Name}`;
} }
private async onUserDeclareLate(userId: string) { private async onUserDeclareLate(userId: string) {
......
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