stop controllobjects from fighting

This commit is contained in:
AzaezelX 2025-04-19 14:35:18 -05:00
parent b864908efd
commit 185acd23e0

View file

@ -5475,6 +5475,7 @@ bool ShapeBase::setAIController(SimObjectId controller)
bool ShapeBase::getAIMove(Move* move)
{
if (!isServerObject()) return false;
if (isControlled()) return false; //something else is steering us, so use that one's controller
if (!(mTypeMask & VehicleObjectType || mTypeMask & PlayerObjectType)) return false; //only support players and vehicles for now
if (mAIController)
{