mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 12:29:02 -06:00
Fixed an issue with the generic bag randomizer
This commit is contained in:
parent
9761ead48f
commit
4ab5e3747a
@ -4,6 +4,7 @@ local BagRandomizer = Randomizer:extend()
|
||||
|
||||
function BagRandomizer:new(pieces)
|
||||
self.bag = {}
|
||||
self.possible_pieces = pieces
|
||||
self.pieces = pieces
|
||||
for i = 1, self.pieces do
|
||||
table.insert(self.bag, i)
|
||||
|
Loading…
Reference in New Issue
Block a user