Skip to content

Commit 046bf84

Browse files
committed
hotfix
1 parent 444439b commit 046bf84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def place(self, pos, render=True, domirror=False):
564564
if globalsettings["codes"][self.selectedtool] == 1:
565565
self.changedata(["GE", x, y, self.layer, 0], self.reverseslope(self.placetile + self.state) if domirror else (self.placetile + self.state))
566566
if globalsettings["codes"][self.selectedtool] == 0:
567-
if (abs(int(self.placetile))) + self.state not in self.data["GE"][x][y][self.layer][1]:
567+
if (abs(int(self.placetile))) + self.state not in self.data["GE"][x][y][self.layer][1] and (self.selectedtool != "CR" or (0 < x < self.levelwidth - 1 and 0 < y < self.levelheight - 1)):
568568
self.changedata(["GE", x, y, self.layer, 1], [*self.data["GE"][x][y][self.layer][1],
569569
(abs(int(self.placetile))) + self.state])
570570
else:

files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def loadimage(filepath):
7777

7878
load_error_count = 0
7979

80-
tag = "2.6.0"
80+
tag = "2.6.1"
8181

8282
ofstop = 15
8383
ofsleft = 15

0 commit comments

Comments
 (0)