Commit 5a1135cc authored by Eben Blaisdell's avatar Eben Blaisdell

dev change

parent c1915413
......@@ -33,12 +33,12 @@ function onMessage(dir, msg)
compassOffset = (compassOffset + 1)%2 -- swap compass offset
currentDir = (currentDir+1)%4 -- turn
otherAgreesWith[#otherAgreesWith+1] = id
--sendMessage(dir, constructMessage(dir))
sendMessage(dir, constructMessage(dir))
end
else -- if you agree
if not checkMembership(otherAgreesWith, id) then -- if you haven't already squared up
agreesWith = mergeUnique(agreesWith, otherAgreesWith)
--sendMessage(dir, constructMessage(dir))
sendMessage(dir, constructMessage(dir))
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment