Fix a pile of compile warnings and debug log spam. Fix <playername> (Dead) in chat

This commit is contained in:
Paul Chote
2010-10-14 19:39:37 +13:00
parent 28f79533eb
commit 9c944924de
11 changed files with 9 additions and 31 deletions

View File

@@ -27,11 +27,9 @@ namespace OpenRA.Widgets.Delegates
{
public class DeveloperModeDelegate : IWidgetDelegate
{
readonly World world;
[ObjectCreator.UseCtor]
public DeveloperModeDelegate( [ObjectCreator.Param] World world )
{
this.world = world;
var devmodeBG = Widget.RootWidget.GetWidget("INGAME_ROOT").GetWidget("DEVELOPERMODE_BG");
var devModeButton = Widget.RootWidget.GetWidget<ButtonWidget>("INGAME_DEVELOPERMODE_BUTTON");