这个提交包含在:
2020-05-07 21:27:55 +08:00
父节点 c99e2bceba
当前提交 20ed96523b
共有 8 个文件被更改,包括 190 次插入 和 40 次删除

查看文件

@ -10,9 +10,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
const Core = __importStar(require("./Core"));
(() => {
var LastMsg = "";
var LastMsg2 = "";
Core.AddListener((Connect, Info) => {
if (Info.message == LastMsg) {
Core.frame.SendMsg(Connect, Info, LastMsg);
if (Info.message == LastMsg && Core.HOOK) {
if (LastMsg == LastMsg2) {
Core.frame.SendMsg(Connect, Info, LastMsg);
}
else {
LastMsg2 = LastMsg;
}
}
LastMsg = Info.message;
});