fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)
This commit is contained in:
parent
0facd73842
commit
537526a328
94 changed files with 514 additions and 769 deletions
|
|
@ -555,10 +555,15 @@ namespace Server.Misc
|
|||
{
|
||||
if (!m_Poller.Active)
|
||||
{
|
||||
m_From.SendMessage(
|
||||
"Enter a title for the option. Escape to cancel.{0}",
|
||||
opt == null ? "" : " Use \"DEL\" to delete."
|
||||
);
|
||||
if (opt == null)
|
||||
{
|
||||
m_From.SendMessage($"Enter a title for the option. Escape to cancel.");
|
||||
}
|
||||
else
|
||||
{
|
||||
m_From.SendMessage($"Enter a title for the option. Escape to cancel. Use \"DEL\" to delete.");
|
||||
}
|
||||
|
||||
m_From.Prompt = new ShardPollPrompt(m_Poller, opt);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue