Update Program.cs

This commit is contained in:
sonic 2024-08-18 11:44:31 +02:00 committed by GitHub
parent fe33511679
commit fa0b77e465
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ var builder = WebApplication.CreateBuilder(args);
// Add services to the container. // Add services to the container.
bool ConsoleOptions = builder.Configuration.GetSection("ConsoleOptions").GetValue<bool>("Show logs"); bool ConsoleOptions = builder.Configuration.GetSection("ConsoleOptions").GetValue<bool>("Show logs");
bool GamePromptOptions = builder.Configuration.GetSection("GamePromptOptions").GetValue<bool>("Open Game");
// shows information about loading assets/api stuff // shows information about loading assets/api stuff
if (ConsoleOptions == true) if (ConsoleOptions == true)