Skip to content

Commit

Permalink
FIX UpdateSprite throwing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHorscht committed Nov 13, 2020
1 parent 4a20d61 commit e8348a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion EZWand.lua
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function wand:UpdateSprite()
local gun = {
fire_rate_wait = self.castDelay,
actions_per_round = self.spellsPerCast,
shuffle_deck_when_empty = self.shuffle,
shuffle_deck_when_empty = self.shuffle and 1 or 0,
deck_capacity = self.capacity,
spread_degrees = self.spread,
reload_time = self.rechargeTime,
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.1.1:
- FIX UpdateSprite throwing an error

v1.1.0:
- AddSpells() now places the spells at the next free position on the wand and sets their position correctly
- GetSpells() now returns the spells in the order the appear on the wand (if the order has been set)
Expand Down

0 comments on commit e8348a6

Please sign in to comment.