### Summary - Generalizes the On/Off toggle items concept - Updates the OnOffGump so it is static - Standardizes OnOff items so they can be used by staff ### Notes Decided to not fix #1417 because it is not clear that the clilocs or errors are for that purpose. Can't test this on OSI anyways.
22 lines
444 B
C#
22 lines
444 B
C#
using System.Diagnostics;
|
|
using System.Reflection;
|
|
|
|
namespace Server;
|
|
|
|
public class Application
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
bool profiling = false;
|
|
|
|
foreach (var a in args)
|
|
{
|
|
if (a.InsensitiveEquals("-profile"))
|
|
{
|
|
profiling = true;
|
|
}
|
|
}
|
|
|
|
Core.Setup(profiling, Assembly.GetEntryAssembly(), Process.GetCurrentProcess());
|
|
}
|
|
}
|