[Patcher] Fixed unitialized variable. is_any_plugin_loaded_

This will resolve random: [plugins applied] note
This commit is contained in:
Gliniak 2023-08-08 08:21:44 +02:00
parent 2a4d7feaae
commit 44fc8f9412
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ PluginLoader::PluginLoader(kernel::KernelState* kernel_state,
const std::filesystem::path plugins_root) {
kernel_state_ = kernel_state;
plugins_root_ = plugins_root;
is_any_plugin_loaded_ = false;
if (!cvars::allow_plugins) {
return;