epfly6 / RepentanceAPIIssueTracker

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

Room's FrameCount gives wrong value in MC_PRE_ROOM_ENTITY_SPAWN [GREED] #501

Open jsgnextortex opened 2 years ago

jsgnextortex commented 2 years ago

Room:GetFrameCount will always give -1 when MC_PRE_ROOM_ENTITY_SPAWN gets triggered by waves spawning within said callback. The thing that makes this specially silly is that this is not the case for similar stuff like challenge room wave spawns, in those cases you can get the correct framecount in the pre room spawn callback.