From 23386f3f1c327249296e90b587dc59aa827b829d Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Fri, 5 Mar 2021 10:31:55 -0500 Subject: [PATCH] Fixed a scoping issue with the O-Spin --- tetris/rulesets/srs_o_spin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris/rulesets/srs_o_spin.lua b/tetris/rulesets/srs_o_spin.lua index e978d5a..9347058 100644 --- a/tetris/rulesets/srs_o_spin.lua +++ b/tetris/rulesets/srs_o_spin.lua @@ -50,7 +50,7 @@ OSpin.block_offsets = { } } -function SRS:attemptWallkicks(piece, new_piece, rot_dir, grid) +function OSpin:attemptWallkicks(piece, new_piece, rot_dir, grid) local kicks if piece.shape == "I" then