The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Crane Game Slot Machine [AB+/Rep]
Stlkngne 2022 年 11 月 1 日 上午 12:09
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
< >
正在显示第 1 - 1 条,共 1 条留言
MrBalloons 2022 年 11 月 29 日 下午 2:05 
I never encountered this, but its probably because i never got an Active Item from thr Crane Game.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50