Bluberry-Kat / Gumobtainium

Gelatinous Goodies and Other Jellied Joys
MIT License
3 stars 1 forks source link

Mantle fix #14

Closed noobanidus closed 4 years ago

noobanidus commented 4 years ago

Allows Gumobtainium overlays to be rendered even if Mantle is installed. Functions as expected with absorption hearts, additional hearts from additional health with Mantle, etc.

This was achieved by moving the HEALTH handler into the Pre event and accepting canceled events, as a canceled Pre event never triggers a Post event.

HUNGER is left in the Post event, but is set to accept canceled events just in case.

Both are set to "LOWEST" as Mantle is currently set to "LOW" priority. This priority could potentially be adjusted or removed, unless Mantle does something to wipe the render area.

To be honest, I can never remember which render thing does what so...

Bluberry-Kat commented 4 years ago

you are my hero