This commit is contained in:
aozhiwei 2021-09-07 03:20:30 +00:00
parent d807207da0
commit 19fb97b19a
2 changed files with 3 additions and 3 deletions

View File

@ -2779,14 +2779,14 @@ bool Creature::CanFollow(Creature* follower)
return false;
}
#endif
if (!follower->HasBuffEffect(kBET_Jump)) {
if (!follower->HasBuffEffect(kBET_Jump) && room->GetGasData().gas_mode != GasInactive) {
return false;
}
if (!IsPlayer()) {
return false;
}
if (!HasBuffEffect(kBET_Jump)) {
if (!HasBuffEffect(kBET_Jump) && room->GetGasData().gas_mode != GasInactive) {
return false;
}
return true;

View File

@ -2278,7 +2278,7 @@ long long Room::GetGasInactiveTime()
{
#ifdef DEBUG
return App::Instance()->debug_params.find(1) != App::Instance()->debug_params.end() ?
App::Instance()->debug_params[1] : 10;
App::Instance()->debug_params[1] : 20;
#endif
{
if (room_type_ == RT_NewBrid) {