1
This commit is contained in:
parent
b48122e8e9
commit
1693f33025
@ -29,7 +29,6 @@ class Bag
|
||||
void InternalPushBagInfo();
|
||||
|
||||
private:
|
||||
|
||||
Human* owner_ = nullptr;
|
||||
std::map<int, std::shared_ptr<BagItem>> items_;
|
||||
};
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user