Skip to content

Commit

Permalink
更新Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
flaribbit committed Apr 3, 2021
1 parent b364dfd commit eb4ca0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ client.onopen = function()
client:send("hello from love2d")
client:close()
end
client.onclose = function()
print("closed")
client.onclose = function(code, reason)
print("closecode: "..code..", reason: "..reason)
end

function love.update()
Expand Down

0 comments on commit eb4ca0d

Please sign in to comment.