Remove unnecessary hypen in console title
This commit is contained in:
parent
6721abf78c
commit
55ae626131
2 changed files with 5 additions and 3 deletions
|
|
@ -647,7 +647,9 @@ namespace TShockAPI
|
||||||
|
|
||||||
private void SetConsoleTitle()
|
private void SetConsoleTitle()
|
||||||
{
|
{
|
||||||
Console.Title = string.Format("{0} - {1}/{2} @ {3}:{4} (TerrariaShock v{5})", Config.ServerName, Utils.ActivePlayers(),
|
Console.Title = string.Format("{0}{1}/{2} @ {3}:{4} (TerrariaShock v{5})",
|
||||||
|
!string.IsNullOrWhiteSpace(Config.ServerName) ? Config.ServerName + " - " : "",
|
||||||
|
Utils.ActivePlayers(),
|
||||||
Config.MaxSlots, Netplay.serverListenIP, Netplay.serverPort, Version);
|
Config.MaxSlots, Netplay.serverListenIP, Netplay.serverPort, Version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
set pluginspath=C:\Program Files (x86)\Steam\steamapps\common\terraria\serverplugins\
|
set pluginspath=F:\Program Files (x86)\Steam\steamapps\common\terraria\serverplugins\
|
||||||
IF NOT EXIST "%pluginspath%" GOTO SkipCopy
|
IF NOT EXIST "%pluginspath%" GOTO SkipCopy
|
||||||
attrib -r "%pluginspath%TShockAPI.dll"
|
attrib -r "%pluginspath%TShockAPI.dll"
|
||||||
attrib -r "%pluginspath%TShockAPI.pdb"
|
attrib -r "%pluginspath%TShockAPI.pdb"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue