From 5cc78bed916e9bd4543793733e4c347061b240dc Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Tue, 22 Nov 2022 11:25:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E5=AD=90=E7=A7=98=E5=A2=83=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/moonfantasy/api_battle.go | 1 + modules/moonfantasy/modelDream.go | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/moonfantasy/api_battle.go b/modules/moonfantasy/api_battle.go index ab0a6b961..aa05b8eac 100644 --- a/modules/moonfantasy/api_battle.go +++ b/modules/moonfantasy/api_battle.go @@ -47,6 +47,7 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.MoonfantasyBattle Buleflist: record.Buleflist, }, }) + this.module.ModuleRtask.SendToRtask(session, comm.Rtype88, 1) } else { session.SendMsg(string(this.module.GetType()), "battle", &pb.MoonfantasyBattleResp{Code: cd}) } diff --git a/modules/moonfantasy/modelDream.go b/modules/moonfantasy/modelDream.go index 370ad77ee..bf01182fc 100644 --- a/modules/moonfantasy/modelDream.go +++ b/modules/moonfantasy/modelDream.go @@ -134,6 +134,7 @@ func (this *modelDreamComp) trigger(session comm.IUserSession) { } this.module.modelDream.noticeuserfriend(session, mdata.Id, chat) session.SendMsg(string(this.module.GetType()), "trigger", &pb.MoonfantasyTriggerPush{Issucc: true, Mid: mdata.Id, Monster: mdata.Monster}) + this.module.ModuleRtask.SendToRtask(session, comm.Rtype87, 1) return }