cambridge-modpack/tetris/rulesets/infinity_srs.lua
2021-05-19 12:40:50 -04:00

12 lines
346 B
Lua

local SRS = require 'tetris.rulesets.standard'
local Infinity = SRS:extend()
Infinity.name = "Infinity-SRS"
Infinity.hash = "Infinity-SRS"
function Infinity:onPieceDrop(piece) piece.lock_delay = 0 end
function Infinity:onPieceMove(piece) piece.lock_delay = 0 end
function Infinity:onPieceRotate(piece) piece.lock_delay = 0 end
return Infinity