ModernUO/Projects/Application/Application.cs
Kamron Batman 19f65dcabe
fix: Fixes edge cases with on off items (#1832)
### 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.
2024-06-10 18:11:35 -07:00

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());
}
}