The technology for round time just isn't there yet
Add clock date to displayed logs I'm sorry moony
This commit is contained in:
@@ -11,7 +11,7 @@ public class AdminLogLabel : RichTextLabel
|
||||
Log = log;
|
||||
Separator = separator;
|
||||
|
||||
SetMessage(log.Message);
|
||||
SetMessage($"{log.Date:HH:mm:ss}: {log.Message}");
|
||||
OnVisibilityChanged += VisibilityChanged;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ public sealed class AdminLogsEui : BaseEui
|
||||
|
||||
private readonly ISawmill _sawmill;
|
||||
private readonly AdminLogSystem _logSystem;
|
||||
private readonly GameTicker _gameTicker;
|
||||
|
||||
private int _clientBatchSize;
|
||||
private bool _isLoading = true;
|
||||
@@ -42,6 +43,8 @@ public sealed class AdminLogsEui : BaseEui
|
||||
_configuration.OnValueChanged(CCVars.AdminLogsClientBatchSize, ClientBatchSizeChanged, true);
|
||||
|
||||
_logSystem = EntitySystem.Get<AdminLogSystem>();
|
||||
_gameTicker = EntitySystem.Get<GameTicker>();
|
||||
|
||||
_filter = new LogFilter
|
||||
{
|
||||
CancellationToken = _logSendCancellation.Token,
|
||||
|
||||
Reference in New Issue
Block a user