Fixed next piece sounds not playing

This commit is contained in:
Ishaan Bhardwaj 2020-12-20 10:47:24 -05:00
parent 5f3990ff58
commit 511e9592bc

View File

@ -425,7 +425,7 @@ function GameMode:initializeNextPiece(inputs, ruleset, piece_data, generate_next
table.remove(self.next_queue, 1) table.remove(self.next_queue, 1)
table.insert(self.next_queue, self:getNextPiece(ruleset)) table.insert(self.next_queue, self:getNextPiece(ruleset))
end end
if config.gamesettings.next_se == 1 then self:playNextSound() end self:playNextSound()
end end
function GameMode:playNextSound() function GameMode:playNextSound()