remove redundant parameter from ObjectCreator.Param attribute

This commit is contained in:
Bob
2010-10-11 15:16:08 +13:00
parent 6a25d989a7
commit beecb8aeb1
10 changed files with 14 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Widgets
{
readonly World world;
[ObjectCreator.UseCtor]
public WorldInteractionControllerWidget( [ObjectCreator.Param( "world" )] World world )
public WorldInteractionControllerWidget( [ObjectCreator.Param] World world )
{
this.world = world;
}