type
This commit is contained in:
parent
f7a47efecf
commit
a654458610
@ -45,7 +45,7 @@ class Tetromino(list):
|
|||||||
self.prelocked = False
|
self.prelocked = False
|
||||||
|
|
||||||
def ghost(self):
|
def ghost(self):
|
||||||
return self.__class__()
|
return type(self)()
|
||||||
|
|
||||||
class O(Tetromino, metaclass=MetaTetromino):
|
class O(Tetromino, metaclass=MetaTetromino):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user