From 380d9ec6048663b0e497e2437222d783236b864f Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Fri, 15 Jun 2018 09:58:24 +0200 Subject: Added Properties Class auto load last settings removed sound enumerable moved Sonds to properties moved Commands to properties --- DiscoBot/DSA_Game/Characters/Character.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DiscoBot/DSA_Game/Characters/Character.cs') diff --git a/DiscoBot/DSA_Game/Characters/Character.cs b/DiscoBot/DSA_Game/Characters/Character.cs index 5c39fc5..c1acd39 100644 --- a/DiscoBot/DSA_Game/Characters/Character.cs +++ b/DiscoBot/DSA_Game/Characters/Character.cs @@ -120,7 +120,7 @@ { try { - SoundEffects.Play(Sound.Wrong); + SoundEffects.Play("Wrong"); } catch { } @@ -149,7 +149,7 @@ { try { - SoundEffects.Play(Sound.Wrong); + SoundEffects.Play("Wrong"); } catch { } return $"{this.Name} kann nicht mit der Waffenart {talent} umgehen..."; @@ -177,7 +177,7 @@ { try { - SoundEffects.Play(Sound.Wrong); + SoundEffects.Play("Wrong"); } catch { } return $"{this.Name} kann nicht mit der Waffenart {talent} umgehen..."; -- cgit v1.2.3-54-g00ecf