mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02: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:
@@ -37,7 +37,7 @@ private:
|
||||
|
||||
// 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.
|
||||
static int l_log(lua_State *L);
|
||||
|
||||
|
Reference in New Issue
Block a user