Skip to content

Commit

Permalink
Merge pull request #281 from ThanatosGit/fix-tank-items
Browse files Browse the repository at this point in the history
Fix quantity for current amount
  • Loading branch information
henriquegemignani authored Oct 10, 2023
2 parents 3898b42 + 05e0d5a commit 2640559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_dread_rando/pickups/pickup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def patch_single_item_pickup(self, bmsad: Bmsad) -> Bmsad:
set_custom.set_param(4, "Custom")
set_custom.set_param(5, current)
set_custom.set_param(8, "guicallbacks.OnSecondaryGunsFire")
set_custom.set_param(13, quantity)
set_custom.set_param(13, float(quantity))

script.functions[0].set_param(2, self.lua_editor.get_script_class(self.pickup))

Expand Down

0 comments on commit 2640559

Please sign in to comment.