Chess: Fix broken promotion
This commit is contained in:
parent
820f4238a0
commit
c4348ac20e
@ -2054,6 +2054,7 @@ function realchess.fields(pos, _, fields, sender)
|
|||||||
"queen_black", "rook_black", "bishop_black", "knight_black",
|
"queen_black", "rook_black", "bishop_black", "knight_black",
|
||||||
}
|
}
|
||||||
for p=1, #promotions do
|
for p=1, #promotions do
|
||||||
|
local gameResult = meta:get_string("gameResult")
|
||||||
if gameResult ~= "" then
|
if gameResult ~= "" then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user