mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 04:39:01 -06:00
Fixed a ceiling issue in C88
This commit is contained in:
parent
8adbb06053
commit
5ece2994e9
@ -40,8 +40,7 @@ function MarathonC88Game:new(secret_inputs)
|
|||||||
self.irs = false
|
self.irs = false
|
||||||
|
|
||||||
self.grid.getCell = function(self, x, y)
|
self.grid.getCell = function(self, x, y)
|
||||||
if x < 1 or x > self.width or y < 5 or y > self.height then return oob
|
if x < 1 or x > self.width or y < 5 or y > self.height then return nil
|
||||||
elseif y < 1 then return empty
|
|
||||||
else return self.grid[y][x]
|
else return self.grid[y][x]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user