Erfly / fiendfolio-issues

Public bug tracker for the Binding of Isaac: Fiend Folio MOD
1 stars 0 forks source link

Any extra rooms spawned by Fiend Folio show up as red rooms with Minimap API #76

Open kittenchilly opened 1 year ago

kittenchilly commented 1 year ago

Describe the bug With MinimapAPI, if Fiend Folio spawns an extra room, it doesn't display properly on the minimap and instead displays as a red room.

Screenshots 20230525100621_1 Example with the extra miniboss room spawned by Conjoined Card. Also happens with Fate's Reward and similar

Additional context I believe this can be fixed fairly easily by adding

if MinimapAPI then
    local apiRoom = MinimapAPI:GetRoomByIdx(room.GridIndex)
    apiRoom:SyncRoomDescriptor()
end

after the code that creates the room.