im so dumb - fix post increment twice

This commit is contained in:
altalk23 2022-04-11 13:59:59 +03:00
parent cba0aee7fe
commit 81ca3c9dc6

View file

@ -18,7 +18,7 @@ namespace geode::core {
std::cout << "detour index: " << counter << std::endl;
if (counter < Det->size()) {
std::cout << "calling " << (void*)Det->at(counter++) << std::endl;
std::cout << "calling " << (void*)Det->at(counter + 1) << std::endl;
Det->at(counter++)(args...);
}