Fix relaunching

This commit is contained in:
momo5502 2022-11-09 18:23:38 +01:00
parent 699dd4bfcb
commit a240015fd4

View File

@ -251,7 +251,7 @@ namespace utils::nt
void relaunch_self() void relaunch_self()
{ {
const utils::nt::library self; const auto self = utils::nt::library::get_by_address(relaunch_self);
STARTUPINFOA startup_info; STARTUPINFOA startup_info;
PROCESS_INFORMATION process_info; PROCESS_INFORMATION process_info;