This commit is contained in:
aozhiwei 2024-07-31 09:58:48 +08:00
parent 26dff62dd1
commit 1e328fb0da

View File

@ -200,10 +200,14 @@ bool BoxDrop::FillAccountIdSessionId(std::string account_id, std::string session
void BoxDrop::OnAllocOk(int box_num)
{
if (!get_box_num_timer_.expired()) {
room_->xtimer.Delete(get_box_num_timer_);
}
}
void BoxDrop::OnAllocFail()
{
if (!get_box_num_timer_.expired()) {
room_->xtimer.Delete(get_box_num_timer_);
}
}