fix: 修复空提交问题
This commit is contained in:
@@ -23,7 +23,7 @@ func (h Controller) UseSkill(data *fight.UseSkillInInfo, c *player.Player) (resu
|
||||
if c.FightC == nil {
|
||||
return nil, errorcode.ErrorCodes.ErrBattleEnded
|
||||
}
|
||||
c.FightC.UseSkill(c, int32(data.SkillId))
|
||||
c.FightC.UseSkill(c, (data.SkillId))
|
||||
return nil, 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user