Fix configuration caching in log_deprecated (#9697)
authorHybridDog <3192173+HybridDog@users.noreply.github.com>
Tue, 21 Apr 2020 22:07:12 +0000 (00:07 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Apr 2020 22:07:12 +0000 (00:07 +0200)
commit4361bfcb4da0b6f9de74c7de9f2d08084877713e
treebf2dd19f35560aecdc8c63457b885b18a73a9aeb
parent8ef239b448c52485cf94d334c1d8b1c6de37d976
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.
src/script/common/c_internal.cpp
src/script/lua_api/l_util.cpp
src/script/lua_api/l_util.h