上传武馆领奖bug
This commit is contained in:
parent
a966073da0
commit
8433020849
@ -193,7 +193,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.PracticeReceiveR
|
||||
ants1[index].N++
|
||||
}
|
||||
}
|
||||
|
||||
room.Knapsack[pillar.Teacher].State = 0
|
||||
}
|
||||
}
|
||||
if pconfigure != nil {
|
||||
@ -235,6 +235,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.PracticeReceiveR
|
||||
ants2[index].N++
|
||||
}
|
||||
}
|
||||
room.Knapsack[pillar.Prop].State = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -245,8 +246,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.PracticeReceiveR
|
||||
if errdata = this.module.DispenseRes(session, append(ants1, ants2...), true); errdata != nil {
|
||||
return
|
||||
}
|
||||
room.Knapsack[pillar.Teacher].State = 0
|
||||
room.Knapsack[pillar.Prop].State = 0
|
||||
|
||||
pillar.Hero = ""
|
||||
pillar.Teacher = ""
|
||||
pillar.Prop = ""
|
||||
|
Loading…
Reference in New Issue
Block a user