Add serde defaults for logging

This commit is contained in:
lukas0008 committed 2024-10-11 17:12:35 +02:00
1 parent 68ab173ee8
commit 7db8c0ed97
4 files changed
+15 -7

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ pub struct CommandsConfig {
#[serde_inline_default(true)]
pub use_console: bool,
/// Should be commands from players be logged in console?
#[serde_inline_default(true)]
pub log_console: bool, // TODO: commands...
}