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,8 +647,10 @@ namespace TShockAPI
|
|||
|
||||
private void SetConsoleTitle()
|
||||
{
|
||||
Console.Title = string.Format("{0} - {1}/{2} @ {3}:{4} (TerrariaShock v{5})", Config.ServerName, Utils.ActivePlayers(),
|
||||
Config.MaxSlots, Netplay.serverListenIP, Netplay.serverPort, Version);
|
||||
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);
|
||||
}
|
||||
|
||||
private void OnHardUpdate( HardUpdateEventArgs args )
|
||||
|
|
|
|||
|
|
@ -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
|
||||
attrib -r "%pluginspath%TShockAPI.dll"
|
||||
attrib -r "%pluginspath%TShockAPI.pdb"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue