mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 13:49:02 -06:00
fixed a thing
This commit is contained in:
parent
b47d0f36b9
commit
d978ff8d87
@ -12,7 +12,7 @@ function RecursiveRandomizer:generatePiece()
|
|||||||
--end
|
--end
|
||||||
local x = math.random(table.getn(self.bag) + 1)
|
local x = math.random(table.getn(self.bag) + 1)
|
||||||
while x == table.getn(self.bag) + 1 do
|
while x == table.getn(self.bag) + 1 do
|
||||||
print("Refill piece pulled")
|
--print("Refill piece pulled")
|
||||||
table.insert(self.bag, "I")
|
table.insert(self.bag, "I")
|
||||||
table.insert(self.bag, "J")
|
table.insert(self.bag, "J")
|
||||||
table.insert(self.bag, "L")
|
table.insert(self.bag, "L")
|
||||||
|
Loading…
Reference in New Issue
Block a user