This commit is contained in:
aozhiwei 2019-07-30 17:14:13 +08:00
parent 4e459033e4
commit bdeb1f5ded

View File

@ -26,7 +26,7 @@ void Android::Initialize()
{
Human::Initialize();
SetTankInfo(MetaMgr::Instance()->RandTank());
if (!room->test_params.empty() && room->test_params[0] > 0) {
if (!f8::IsOnlineEnv() && !room->test_params.empty() && room->test_params[0] > 0) {
tank_.tank_lv = room->test_params[0];
}
tank_meta_ = MetaMgr::Instance()->GetTank(TankId());