1
This commit is contained in:
parent
a8c53babd6
commit
42bd7281fd
@ -824,6 +824,9 @@ void Player::Update(long long tick)
|
||||
role_data.last_save_time = App::Instance()->nowtime;
|
||||
SaveToDB(a8::XParams(), nullptr, nullptr);
|
||||
}
|
||||
if (App::Instance()->IsTimeToReset(role_data.last_save_time)) {
|
||||
OnDailyReset();
|
||||
}
|
||||
}
|
||||
|
||||
const std::string Player::AccountId()
|
||||
|
Loading…
x
Reference in New Issue
Block a user