litris update

This commit is contained in:
Thaloria@web.de
2023-07-30 00:29:36 +02:00
parent f32cbb8f2d
commit 01768dc115
2 changed files with 10 additions and 10 deletions

View File

@@ -100,8 +100,7 @@ class Litris(GameBase):
def update_field_with_stored_edges(self):
if self.move_mode == 4:
state_copy = copy(self.field_state_storage[1])
state_copy = state_copy.rotate_90_degree_clckwise()
state_copy = Field.rotate_90_degree_clckwise(copy(self.field_state_storage[1]))
for i in range(11,20,1):
for e in range(0,2,1):
self.field.state[i][e] = state_copy[i][e]