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

@@ -23,7 +23,7 @@ namespace OpenRA.Widgets.Delegates
int validPlayers = 0;
readonly World world;
[ObjectCreator.UseCtor]
public DiplomacyDelegate( [ObjectCreator.Param("world")] World world )
public DiplomacyDelegate( [ObjectCreator.Param] World world )
{
this.world = world;
var root = Widget.RootWidget.GetWidget("INGAME_ROOT");