mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user