Commit 092c7cc9 authored by nanahira's avatar nanahira

js

parent e6d34501
......@@ -2268,7 +2268,7 @@
if (deck_name === player_name || deck_name === player_name + ".ydk" || deck_name === player_name + ".ydk.ydk") {
return true;
}
parsed_deck_name = deck_name.match(/^([^\+]+)[\+ \uff0b](.+?)(\.ydk){0,2}$/);
parsed_deck_name = deck_name.match(/^([^\+ \uff0b]+)[\+ \uff0b](.+?)(\.ydk){0,2}$/);
return parsed_deck_name && (player_name === parsed_deck_name[1] || player_name === parsed_deck_name[2]);
};
......
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