epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
18 stars 1 forks source link

Callbacks with a void return type accept non-nil return values #561

Open laceous opened 8 months ago

laceous commented 8 months ago

These non-nil return values then block any other executions of the callback.

For example, if you "return false" from MC_POST_GAME_STARTED then you can block other mods from initializing correctly.

Ref: https://wofsauge.github.io/IsaacDocs/rep/enums/ModCallbacks.html