Fix compiler warnings.
This commit is contained in:
@@ -2,7 +2,6 @@ using System;
|
||||
using Content.Client.Interfaces.Chat;
|
||||
using Content.Shared.Chat;
|
||||
using Robust.Client.Console;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
using Robust.Shared.Interfaces.Network;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Log;
|
||||
@@ -20,7 +19,6 @@ namespace Content.Client.Chat
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IClientNetManager _netManager;
|
||||
[Dependency] private readonly IClientConsole _console;
|
||||
[Dependency] private readonly IEntityManager _entityManager;
|
||||
#pragma warning restore 649
|
||||
|
||||
private ChatBox _currentChatBox;
|
||||
|
||||
@@ -275,8 +275,8 @@ namespace Content.Client.Construction
|
||||
}
|
||||
|
||||
var item = RecipeList.CreateItem(ItemForNode(node.Parent));
|
||||
item.SetText(0, node.Name);
|
||||
item.SetSelectable(0, false);
|
||||
item.Text = node.Name;
|
||||
item.Selectable = false;
|
||||
categoryItems[node.FlattenedIndex] = item;
|
||||
return item;
|
||||
}
|
||||
@@ -312,7 +312,7 @@ namespace Content.Client.Construction
|
||||
}
|
||||
}
|
||||
var subItem = RecipeList.CreateItem(ItemForNode(node));
|
||||
subItem.SetText(0, prototype.Name);
|
||||
subItem.Text = prototype.Name;
|
||||
subItem.Metadata = prototype;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,11 +144,13 @@ namespace Content.Server
|
||||
[JsonObject(MemberSerialization.Fields, ItemRequired = Required.Always)]
|
||||
private class OOCPostMessage
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
[JsonProperty("password")] public string Password;
|
||||
|
||||
[JsonProperty("sender")] public string Sender;
|
||||
|
||||
[JsonProperty("contents")] public string Contents;
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user