Commit b83a082d authored by xiaoye's avatar xiaoye

Update participant.ts

parent 0858a483
Pipeline #37934 passed with stages
in 2 minutes and 5 seconds
......@@ -12,7 +12,7 @@ class Participant {
deck : YGOProDeck | undefined;
constructor(obj: ParticipantObject) {
let name = obj.name.split('+')
const name = obj.name.split('+')
this.name = (name.length == 2 && !Number.isNaN(name[0])) ? name[1] : obj.name;
this.tournamentId = obj.tournamentId;
this.id = obj.id;
......
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