This commit is contained in:
aozhiwei 2024-10-11 15:56:07 +08:00
parent b48122e8e9
commit 1693f33025
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ class Bag
void InternalPushBagInfo();
private:
Human* owner_ = nullptr;
std::map<int, std::shared_ptr<BagItem>> items_;
};

View File

@ -2963,7 +2963,7 @@ void Bag::UseItem(int equip_id)
void Bag::PushBagInfo()
{
owner_->room->xtimer.SetTimeoutEx
(500 / FRAME_RATE_MS,
(1000 / FRAME_RATE_MS,
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {