summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/shop.lua b/shop.lua
index a15f07f..a4ddfc3 100644
--- a/shop.lua
+++ b/shop.lua
@@ -10,6 +10,7 @@ function sendws(t)
nextid = nextid + 1
return ws.send(textutils.serializeJSON(t))
end
+sendws {type="me"}
while true do
msgtxt = assert(ws.receive(),"ws error")