re-add info prints
This commit is contained in:
parent
df12711248
commit
5cdc2dc100
@ -137,7 +137,7 @@ namespace gsc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console::debug("Loading custom gsc '%s.gsc'", real_name.data());
|
console::info("Loading custom gsc '%s.gsc'", real_name.data());
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -172,6 +172,8 @@ namespace gsc
|
|||||||
|
|
||||||
loaded_scripts[file_name] = script_file_ptr;
|
loaded_scripts[file_name] = script_file_ptr;
|
||||||
|
|
||||||
|
console::info("Loaded custom gsc '%s.gsc'", real_name.data());
|
||||||
|
|
||||||
return script_file_ptr;
|
return script_file_ptr;
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
@ -237,13 +239,13 @@ namespace gsc
|
|||||||
|
|
||||||
if (main_handle)
|
if (main_handle)
|
||||||
{
|
{
|
||||||
console::debug("Loaded '%s::main'\n", name.data());
|
console::info("Loaded '%s::main'\n", name.data());
|
||||||
main_handles[name] = main_handle;
|
main_handles[name] = main_handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (init_handle)
|
if (init_handle)
|
||||||
{
|
{
|
||||||
console::debug("Loaded '%s::init'\n", name.data());
|
console::info("Loaded '%s::init'\n", name.data());
|
||||||
init_handles[name] = init_handle;
|
init_handles[name] = init_handle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -369,7 +371,7 @@ namespace gsc
|
|||||||
{
|
{
|
||||||
for (auto& function_handle : main_handles)
|
for (auto& function_handle : main_handles)
|
||||||
{
|
{
|
||||||
console::debug("Executing '%s::main'\n", function_handle.first.data());
|
console::info("Executing '%s::main'\n", function_handle.first.data());
|
||||||
game::RemoveRefToObject(game::Scr_ExecThread(function_handle.second, 0));
|
game::RemoveRefToObject(game::Scr_ExecThread(function_handle.second, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -378,7 +380,7 @@ namespace gsc
|
|||||||
{
|
{
|
||||||
for (auto& function_handle : init_handles)
|
for (auto& function_handle : init_handles)
|
||||||
{
|
{
|
||||||
console::debug("Executing '%s::init'\n", function_handle.first.data());
|
console::info("Executing '%s::init'\n", function_handle.first.data());
|
||||||
game::RemoveRefToObject(game::Scr_ExecThread(function_handle.second, 0));
|
game::RemoveRefToObject(game::Scr_ExecThread(function_handle.second, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user