mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-16 17:39:03 -06:00
18 lines
364 B
Lua
18 lines
364 B
Lua
|
local CRS = require 'tetris.rulesets.cambridge'
|
||
|
|
||
|
local CRS_M = CRS:extend()
|
||
|
|
||
|
CRS_M.name = "Cambridge-M"
|
||
|
CRS_M.hash = "Cambridge-M"
|
||
|
|
||
|
function CRS_M:onPieceMove(piece, grid)
|
||
|
CRS.onPieceMove(CRS, piece, grid)
|
||
|
piece.lock_delay = 0
|
||
|
end
|
||
|
|
||
|
function CRS_M:onPieceRotate(piece, grid)
|
||
|
CRS.onPieceRotate(CRS, piece, grid)
|
||
|
piece.lock_delay = 0
|
||
|
end
|
||
|
|
||
|
return CRS_M
|