litris update
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user