From 694255cff819d8d9dbd9785e38f12b982538a31f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 11 Jul 2023 09:21:39 +0200 Subject: [PATCH] Update Chess formspec in multiplayer --- src/chess.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chess.lua b/src/chess.lua index 80514d2..1915fd3 100644 --- a/src/chess.lua +++ b/src/chess.lua @@ -1520,6 +1520,8 @@ function realchess.on_move(pos, from_list, from_index) -- Only let it play if it didn't already play. if meta:get_string("mode") == "single" and meta:get_string("lastMove") ~= "black" then ai_move(inv, meta) + else + update_formspec(meta) end return false end