Improve ExaminedEvent to handle newlines for you with helper methods.
This commit is contained in:
@@ -100,8 +100,7 @@ namespace Content.Shared.Stacks
|
||||
if (!args.IsInDetailsRange)
|
||||
return;
|
||||
|
||||
args.Message.AddText("\n");
|
||||
args.Message.AddMarkup(
|
||||
args.PushMarkup(
|
||||
Loc.GetString("comp-stack-examine-detail-count",
|
||||
("count", component.Count),
|
||||
("markupCountColor", "lightgray")
|
||||
|
||||
Reference in New Issue
Block a user