mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-15 19:22:25 +08:00
parent
81440000b3
commit
571a16fbf0
|
@ -23,8 +23,10 @@ function Client:initialize()
|
|||
self.client.callback = function(_self, command, jsonData)
|
||||
local cb = fk.client_callback[command]
|
||||
|
||||
Fk.currentResponsePattern = nil
|
||||
Fk.currentResponseReason = nil
|
||||
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
Block a user