Commit 1b6307bcb5cf4b2a08fc24307e49be5c1f61582d
1 parent
cbfd0513
监听再前
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
robot/robot.lua
... | ... | @@ -104,8 +104,8 @@ function sendServer(actionCode, bin) |
104 | 104 | end |
105 | 105 | |
106 | 106 | function requestServer(actionCode, bin, callback, isKeep) |
107 | - sendServer(actionCode, bin) | |
108 | 107 | addListener(actionCode, callback, isKeep) |
108 | + sendServer(actionCode, bin) | |
109 | 109 | end |
110 | 110 | |
111 | 111 | local function heartBeat() | ... | ... |