Merge branch 'master' into config-serde-defaults
This commit is contained in:
commit
68ab173ee8
8 files changed
+141
-15
No files matched your search
@@ -7,11 +7,15 @@ pub struct CommandsConfig {
|
||||
/// Are commands from the Console accepted ?
|
||||
#[serde_inline_default(true)]
|
||||
pub use_console: bool,
|
||||
// TODO: commands...
|
||||
/// Should be commands from players be logged in console?
|
||||
pub log_console: bool, // TODO: commands...
|
||||
}
|
||||
|
||||
impl Default for CommandsConfig {
|
||||
fn default() -> Self {
|
||||
Self { use_console: true }
|
||||
Self {
|
||||
use_console: true,
|
||||
log_console: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user