This commit is contained in:
aozhiwei 2023-09-23 13:04:16 +08:00
parent 59cca98c1e
commit 25fe7a5556

View File

@ -2298,6 +2298,8 @@ long long Room::GetGasInactiveTime()
inactive_time = 12;
}
#endif
inactive_time = std::max((long long)0, inactive_time - acc_inactive_time_);
return inactive_time;
}
long long Room::GetGasInactiveReaminTime()