mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix configuration caching in log_deprecated (#9697)
* Fix configuration caching in log_deprecated The configured variable was never set to true. I've set the variables to thread_local because the configuration should be reloaded after reentering the world from mainmenu.
This commit is contained in:
parent
8ef239b448
commit
4361bfcb4d
3 changed files with 7 additions and 6 deletions
|
@ -44,7 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
// log([level,] text)
|
||||
// Writes a line to the logger.
|
||||
// The one-argument version logs to infostream.
|
||||
// The one-argument version logs to LL_NONE.
|
||||
// The two-argument version accepts a log level.
|
||||
// Either the special case "deprecated" for deprecation notices, or any specified in
|
||||
// Logger::stringToLevel(name).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue