mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Use 'new' expression in places where the type is evident for the engine (#1415)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
co-authored by
Pieter-Jan Briers
parent
e82a83223f
commit
b8e5b47e7a
@@ -26,14 +26,14 @@ namespace Robust.Client.UserInterface.CustomControls
|
||||
private readonly IClientConsole _console;
|
||||
private readonly IResourceManager _resourceManager;
|
||||
|
||||
private static readonly ResourcePath HistoryPath = new ResourcePath("/debug_console_history.json");
|
||||
private static readonly ResourcePath HistoryPath = new("/debug_console_history.json");
|
||||
|
||||
private readonly HistoryLineEdit CommandBar;
|
||||
private readonly OutputPanel Output;
|
||||
private readonly Control MainControl;
|
||||
|
||||
public IReadOnlyDictionary<string, IConsoleCommand> Commands => _console.Commands;
|
||||
private readonly ConcurrentQueue<FormattedMessage> _messageQueue = new ConcurrentQueue<FormattedMessage>();
|
||||
private readonly ConcurrentQueue<FormattedMessage> _messageQueue = new();
|
||||
|
||||
private bool _targetVisible;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user