mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-01 07:56:04 +00:00
Correctif alignement tous
This commit is contained in:
parent
7fea933afb
commit
5438c66ebb
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ namespace AideDeJeu.ViewModels
|
||||||
var regex = new Regex(".*\\((?<alignment>.*?)\\)$");
|
var regex = new Regex(".*\\((?<alignment>.*?)\\)$");
|
||||||
var match = regex.Match(SelectedPlayerCharacter.PersonalityIdeal);
|
var match = regex.Match(SelectedPlayerCharacter.PersonalityIdeal);
|
||||||
var alignment = match.Groups["alignment"].Value;
|
var alignment = match.Groups["alignment"].Value;
|
||||||
if (!string.IsNullOrEmpty(alignment))
|
if (!string.IsNullOrEmpty(alignment) && alignment.ToLower() != "tous")
|
||||||
{
|
{
|
||||||
Alignments = new NotifyTaskCompletion<List<AlignmentItem>>(Task.Run(() => LoadAlignmentsAsync(alignment)));
|
Alignments = new NotifyTaskCompletion<List<AlignmentItem>>(Task.Run(() => LoadAlignmentsAsync(alignment)));
|
||||||
SelectedPlayerCharacter.Alignment = null;
|
SelectedPlayerCharacter.Alignment = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue