From 913ca89d4f130f632507809a396e4c38dff4e156 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 9 Jul 2011 22:39:24 +1200 Subject: [PATCH] use generic GetValue<> in VoiceInfo --- OpenRA.Game/GameRules/VoiceInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/GameRules/VoiceInfo.cs b/OpenRA.Game/GameRules/VoiceInfo.cs index a136a77e4c..9a30286c71 100644 --- a/OpenRA.Game/GameRules/VoiceInfo.cs +++ b/OpenRA.Game/GameRules/VoiceInfo.cs @@ -27,7 +27,7 @@ namespace OpenRA.GameRules return y.NodesDict.ContainsKey( name ) ? y.NodesDict[ name ].NodesDict.ToDictionary( a => a.Key, - a => (string[])FieldLoader.GetValue( "(value)", typeof( string[] ), a.Value.Value ) ) + a => FieldLoader.GetValue( "(value)", a.Value.Value ) ) : new Dictionary(); }