Fix a pile of compile warnings and debug log spam. Fix <playername> (Dead) in chat
This commit is contained in:
@@ -15,11 +15,9 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
{
|
||||
public class IngameChromeDelegate : IWidgetDelegate
|
||||
{
|
||||
readonly World world;
|
||||
[ObjectCreator.UseCtor]
|
||||
public IngameChromeDelegate( [ObjectCreator.Param] World world )
|
||||
{
|
||||
this.world = world;
|
||||
var r = Widget.RootWidget;
|
||||
var gameRoot = r.GetWidget("INGAME_ROOT");
|
||||
var optionsBG = gameRoot.GetWidget("INGAME_OPTIONS_BG");
|
||||
|
||||
@@ -16,11 +16,9 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
{
|
||||
public class OrderButtonsChromeDelegate : IWidgetDelegate
|
||||
{
|
||||
readonly World world;
|
||||
[ObjectCreator.UseCtor]
|
||||
public OrderButtonsChromeDelegate( [ObjectCreator.Param] World world )
|
||||
{
|
||||
this.world = world;
|
||||
var r = Widget.RootWidget;
|
||||
var gameRoot = r.GetWidget("INGAME_ROOT");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user