Meowlala / BOIStageAPI15

Custom StageAPI 1.5 for the Binding of Isaac Repentance, allows creating stages that use the form of others.
The Unlicense
20 stars 32 forks source link

Fix some multi-value return callbacks #184

Closed filloax closed 4 months ago

filloax commented 4 months ago

Specifically, PRE/POST_NEW_ROOM_GENERATION allowed to return additional values, but the multi-return didn't actually work. Since the only current/working usage of them was only returning currentRoom, the callback was changed to allow either returning currentRoom or a table containing it, justGenerated and boss, similarly to vanilla/Repentogon callbacks that allow returning tables.