fix: invert debug flag logic and rename to no_debug

The previous 'debug_on' field was never set to true by default, causing
debug mode to never be enabled. Now renamed to 'no_debug' and the
renderer initializes with debug enabled unless the --no-debug flag is
given.
This commit is contained in:
2026-07-17 13:54:36 +08:00
parent e511050399
commit 9617978dd5
2 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ struct Argument {
std::optional<int> port;
std::optional<std::string> ip;
std::optional<std::string> player;
std::optional<bool> debug_on;
std::optional<bool> no_debug;
std::optional<std::string> language;
};
} // namespace Cubed