The state probably doesn't get filled. The game code will take
THIS path and not continue further down, which is most likely the issue.
You could try removing groupinfo from the player in question in the pre-hook, then set it back in the post-hook.
__________________