Chess: Fix notation of "files" (chessboard rows)
This commit is contained in:
parent
c2f641ab62
commit
edb0ed7cbf
@ -40,7 +40,7 @@ local function index_to_notation(idx)
|
||||
return "??"
|
||||
end
|
||||
local xstr = letters[x+1] or "?"
|
||||
local ystr = tostring(y+1) or "?"
|
||||
local ystr = tostring(9 - (y+1)) or "?"
|
||||
return xstr .. ystr
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user