Skip to content

Forward call sequence error #78

Description

@IL0co

I noticed an error in the order of calling the "Shop_OnMenuTitle" forward, it is called after all the CallBacks of the category, which is strange to my mind, because it should be called first.

Correction option:

  • make it call before calling callbacks

How did I find it?

  • I needed to get data about where the menu opens (in purchase or in inventory) in the Shop_CategoryDisplayCallback callback, but since it did not have data about ShopAction (I wrote about this in another issue), I decided used the forward "Shop_OnMenuTitle", and then I noticed that it is called after Shop_CategoryDisplayCallback was called

Shop version: 3.05D

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions