Refresh globals before calling validate() so that inventory is properly
updated.