From a960feb007728c153285e2402f203a0de809aaca Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Tue, 5 Apr 2016 15:55:23 +0300 Subject: [PATCH] aefae --- Applications/Robot/Robot.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Applications/Robot/Robot.lua b/Applications/Robot/Robot.lua index 3aeac281..6bff2e74 100644 --- a/Applications/Robot/Robot.lua +++ b/Applications/Robot/Robot.lua @@ -195,7 +195,6 @@ end -------------------------------------------------------------------------------------------------------------------------------------- drawAll() -requestInventoryInfo() while true do local e = { event.pull() } @@ -228,10 +227,11 @@ while true do --Q elseif e[4] == 16 then sendMessage("drop") - -- elseif e[4] == 28 then - -- if map.keyPoints and #map.keyPoints > 0 then - -- sendMessage("executeKeyPoints", serialization.serialize(map.keyPoints)) - -- end + elseif e[4] == 28 then + -- if map.keyPoints and #map.keyPoints > 0 then + -- sendMessage("executeKeyPoints", serialization.serialize(map.keyPoints)) + -- end + requestInventoryInfo() end elseif e[1] == "modem_message" then if e[4] == port then