Fix missing !

This commit is contained in:
cim 2014-12-12 17:08:32 +00:00
parent 84e97c1ca8
commit 681f4a676e

View File

@ -2468,7 +2468,7 @@ PriorityAIController.prototype.conditionCanScoopCargo = function()
{
return this.__cache.oolite_conditionCanScoopCargo;
}
if (this.ship.cargoSpaceAvailable == 0 || this.ship.hasEquipmentProviding("EQ_CARGO_SCOOPS"))
if (this.ship.cargoSpaceAvailable == 0 || !this.ship.hasEquipmentProviding("EQ_CARGO_SCOOPS"))
{
this.__cache.oolite_conditionCanScoopCargo = false;
return false;