diff --git a/OpenRA.Game/WDist.cs b/OpenRA.Game/WDist.cs index c12356ee90..ee2b1af488 100644 --- a/OpenRA.Game/WDist.cs +++ b/OpenRA.Game/WDist.cs @@ -143,6 +143,7 @@ namespace OpenRA { case "Range": return Length; default: throw new LuaException("WPos does not define a member '{0}'".F(key)); + default: throw new LuaException("WDist does not define a member '{0}'".F(key)); } }