Skip to content

Commit fd9b1a2

Browse files
committed
Reverted unintended change in thunderstorm.lua.
1 parent e3b70b4 commit fd9b1a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

thunderstorm/lib/thunderstorm.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ Thunderstorm.prototype.update = function(self, dt)
6666
self.next_bolt_in = self.next_bolt_in - dt
6767
if self.next_bolt_in <= 0 and self.active then
6868
-- only add bolts, if we are set to active
69-
-- local index = love.math.random(1, #self.layers)
70-
local index = 1
69+
local index = love.math.random(1, #self.layers)
7170
local bolt = self:newBolt(self.layers[index])
7271
table.insert(self.layers[index].bolts, bolt)
7372
self.next_bolt_in = randfloat(5.0, 10.0)

0 commit comments

Comments
 (0)