Chess: Fix broken promotion

This commit is contained in:
Wuzzy 2023-07-15 10:15:45 +02:00
parent 820f4238a0
commit c4348ac20e

View File

@ -2054,6 +2054,7 @@ function realchess.fields(pos, _, fields, sender)
"queen_black", "rook_black", "bishop_black", "knight_black",
}
for p=1, #promotions do
local gameResult = meta:get_string("gameResult")
if gameResult ~= "" then
return
end