Skip to content

Commit e95c97a

Browse files
authored
Add files via upload
1 parent 1c89db6 commit e95c97a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ function love.draw()
24052405
love.graphics.rectangle("fill",100*winxm,75*winym,600*winxm,450*winym)
24062406
love.graphics.setColor(1,1,1,1)
24072407
love.graphics.print("this is the menu",300*winxm,120*winym,0,2*winxm,2*winym)
2408-
love.graphics.print("CelLua Machine v1.1.0",330*winxm,90*winym,0,winxm,winym)
2408+
love.graphics.print("CelLua Machine v1.1.1",330*winxm,90*winym,0,winxm,winym)
24092409
love.graphics.print("by KyYay",365*winxm,105*winym,0,winxm,winym)
24102410
love.graphics.print("Update delay: "..string.sub(delay,1,4).."s",150*winxm,160*winym,0,winxm,winym)
24112411
love.graphics.print("Ticks per update: "..tpu,150*winxm,200*winym,0,winxm,winym)
@@ -2827,7 +2827,7 @@ function love.mousepressed(x,y,b)
28272827
sely = math.max(math.min(math.floor((love.mouse.getY()+offy)/zoom),height-2),1)
28282828
elseif pasting and b == 1 then
28292829
pasting = false
2830-
if math.floor((love.mouse.getX()+offx)/zoom) > 0 and math.floor((love.mouse.getX()+offx)/zoom) < width-#copied[0] and math.floor((love.mouse.getY()+offy)/zoom) > 0 and math.floor((love.mouse.getY()+offy)/zoom) < height-#copied then
2830+
if math.floor((love.mouse.getX()+offx)/zoom) > 0 and math.floor((love.mouse.getX()+offx)/zoom) < width-#copied[0]-1 and math.floor((love.mouse.getY()+offy)/zoom) > 0 and math.floor((love.mouse.getY()+offy)/zoom) < height-#copied-1 then
28312831
undocells = {}
28322832
for y=0,height-1 do
28332833
undocells[y] = {}

0 commit comments

Comments
 (0)