diff --git a/modules/hamsandwich/hook_callbacks.cpp b/modules/hamsandwich/hook_callbacks.cpp index c0cbc096..3a1a13cd 100644 --- a/modules/hamsandwich/hook_callbacks.cpp +++ b/modules/hamsandwich/hook_callbacks.cpp @@ -108,11 +108,15 @@ extern bool gDoForwards; { \ if (hook->post.at(i)->state == FSTATE_OK) \ { \ - MF_ExecuteForward(hook->post.at(i)->id, iThis + thisresult = MF_ExecuteForward(hook->post.at(i)->id, iThis #define POST_END() \ ); \ } \ + if (thisresult > result) \ + { \ + result=thisresult; \ + } \ } \ } \ ReturnStatus.pop();