summaryrefslogtreecommitdiff
path: root/DiscoBot/DSA_Game
diff options
context:
space:
mode:
authorKobert-P <kassiaK@yahoo.de>2018-06-06 17:27:29 +0200
committerKobert-P <kassiaK@yahoo.de>2018-06-06 17:27:29 +0200
commit8396bb48937889a708da7ecb35b788fcef4f2eca (patch)
treea943eada01951e6f2f3095facd087a48b3105c9b /DiscoBot/DSA_Game
parente541bd51f4dd1866129d764ca2fcfcde6240f22b (diff)
parent0b5fd9f180d9537f81f5dabf7692106a0127f849 (diff)
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/DSA_Game')
-rw-r--r--DiscoBot/DSA_Game/Characters/Character.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/DiscoBot/DSA_Game/Characters/Character.cs b/DiscoBot/DSA_Game/Characters/Character.cs
index 1e44dc8..d92fc63 100644
--- a/DiscoBot/DSA_Game/Characters/Character.cs
+++ b/DiscoBot/DSA_Game/Characters/Character.cs
@@ -118,7 +118,7 @@
var attack = this.Kampftalente.OrderBy(x => sc.Compare(talent, x.Name)).First();
if (sc.Compare(talent, attack.Name) > SpellCorrect.ErrorThreshold)
{
- SoundEffects.Play(Sound.Wrong).Wait();
+ SoundEffects.Play(Sound.Wrong);
return $"{this.Name} kann nicht mit der Waffenart {talent} umgehen...";
}
@@ -142,7 +142,7 @@
if (sc.Compare(talent, attack.Name) > SpellCorrect.ErrorThreshold)
{
- SoundEffects.Play(Sound.Wrong).Wait();
+ SoundEffects.Play(Sound.Wrong);
return $"{this.Name} kann nicht mit der Waffenart {talent} umgehen...";
}
@@ -166,7 +166,7 @@
var attack = this.Talente.OrderBy(x => sc.Compare(talent, x.Name)).First();
if (sc.Compare(talent, attack.Name) > SpellCorrect.ErrorThreshold)
{
- SoundEffects.Play(Sound.Wrong).Wait();
+ SoundEffects.Play(Sound.Wrong);
return $"{this.Name} kann nicht mit der Waffenart {talent} umgehen...";
}