parent
81440000b3
commit
571a16fbf0
|
@ -23,8 +23,10 @@ function Client:initialize()
|
|||
self.client.callback = function(_self, command, jsonData)
|
||||
local cb = fk.client_callback[command]
|
||||
|
||||
if command ~= "Heartbeat" and command ~= "StartChangeSelf" and command ~= "ChangeSelf" then
|
||||
Fk.currentResponsePattern = nil
|
||||
Fk.currentResponseReason = nil
|
||||
end
|
||||
|
||||
if (type(cb) == "function") then
|
||||
cb(jsonData)
|
||||
|
|
Loading…
Reference in New Issue