The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Crane Game Slot Machine [AB+/Rep]
Stlkngne 1 Nov, 2022 @ 12:09am
Spawning second item bug
Right now, if the crane game gives you an active item, but you don't currently have an active item, a 2nd item is spawned.

In main.lua, on line 725, I see this:
local active_item_id = player:GetActiveItem() if active_item_id then

GetActiveItem returns 0 or COLLECTIBLE_NULL rather than nil so the if check should be:
if active_item_id ~= CollectibleType.COLLECTIBLE_NULL then
< >
Showing 1-1 of 1 comments
MrBalloons 29 Nov, 2022 @ 2:05pm 
I never encountered this, but its probably because i never got an Active Item from thr Crane Game.
< >
Showing 1-1 of 1 comments
Per page: 1530 50