nav: disable player avoidance when in csdm free for all mode

This commit is contained in:
jeefo 2023-09-19 10:24:06 +03:00
commit cfac2ab472
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED

View file

@ -423,7 +423,7 @@ void Bot::ignoreCollision () {
} }
void Bot::doPlayerAvoidance (const Vector &normal) { void Bot::doPlayerAvoidance (const Vector &normal) {
if (cv_has_team_semiclip.bool_ ()) { if (cv_has_team_semiclip.bool_ () || game.is (GameFlags::FreeForAll)) {
return; // no player avoiding when with semiclip plugin return; // no player avoiding when with semiclip plugin
} }