From 313d91bcaf582f60b93255e0100ba5c9c5b81f8c Mon Sep 17 00:00:00 2001 From: Tissevert Date: Thu, 30 Jan 2020 15:21:09 +0100 Subject: [PATCH] Oops, forgot the 'to' field in Yield messages --- js/Games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Games.js b/js/Games.js index ee5a156..078fa5c 100644 --- a/js/Games.js +++ b/js/Games.js @@ -42,7 +42,7 @@ function initMessageHandlers() { var state = states.get(gameID); if(state != undefined) { switch(compare(state.latest.public.coordinates, o.message.latestKnown)) { - case -1: Messaging.send({tag: "Yield", onGameID: gameID}); + case -1: Messaging.send({tag: "Yield", onGameID: gameID, to: o.from}); case 1: Messaging.send({tag: "Share", gameSave: state.latest}); } }