Fix Showdown Export nicknames

This commit is contained in:
Kurt 2015-12-20 10:50:09 -08:00
parent b0200f1a5c
commit 308dfd2c24

View File

@ -1354,7 +1354,7 @@ public string getText()
return "";
// First Line: Name, Nickname, Gender, Item
string result = String.Format(((species[Species] != Nickname) ? "{0} " : "") + "{1}", Nickname,
string result = String.Format(((species[Species] != Nickname) ? "{0} ({1})" : "{1}"), Nickname,
species[Species] + ((Form ?? "") != "" ? "-" + Form : "")) // Species (& Form if necessary)
+ Gender + (Item != 0 ? " @ " + items[Item] : "") + Environment.NewLine;