From 2aa596db5fd14a41e7ba4e7d89950089135af78f Mon Sep 17 00:00:00 2001 From: s464859 <@> Date: Thu, 28 Apr 2022 17:48:25 +0200 Subject: [PATCH] RestInPieces klify --- classes/minesweeper.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/classes/minesweeper.py b/classes/minesweeper.py index 278e5bf..5144865 100644 --- a/classes/minesweeper.py +++ b/classes/minesweeper.py @@ -111,7 +111,6 @@ class Map: #od liczby zależy jaki teren, np. 0 - piasek rng = randrange(10) if ok and rng==0 and not (i<2 and j<3): - matrix[i].append(10) #kamień elif ok and rng>6 and not (i<2 and j<3): matrix[i].append(5) #trawa @@ -120,11 +119,11 @@ class Map: rand_rotate = 0#randrange(4)*90 if rand_rotate==0 and j+3