mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-02 00:16:07 +00:00
Unité
This commit is contained in:
parent
1707da1ae9
commit
568c32f19d
1 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ namespace AideDeJeuLib
|
||||||
}),
|
}),
|
||||||
new Tuple<string, Action<Equipment, string>>("**Unité** ", (m, s) =>
|
new Tuple<string, Action<Equipment, string>>("**Unité** ", (m, s) =>
|
||||||
{
|
{
|
||||||
this.Text += "- " + str; m.Unity = s;
|
this.Text += "- " + str; m.Unity = s; m.Name += $" ({s})";
|
||||||
}),
|
}),
|
||||||
new Tuple<string, Action<Equipment, string>>("**Capacité** ", (m, s) =>
|
new Tuple<string, Action<Equipment, string>>("**Capacité** ", (m, s) =>
|
||||||
{
|
{
|
||||||
|
|
@ -131,7 +131,7 @@ namespace AideDeJeuLib
|
||||||
{
|
{
|
||||||
if (str.StartsWith(property.Item1))
|
if (str.StartsWith(property.Item1))
|
||||||
{
|
{
|
||||||
property.Item2.Invoke(this, str.Substring(property.Item1.Length));
|
property.Item2.Invoke(this, str.Substring(property.Item1.Length).Trim('\n', ' '));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue