Fix object
This commit is contained in:
parent
d83fc2dc2b
commit
c3d2d0bd4b
@ -57,10 +57,10 @@ namespace GasolineTanker
|
||||
return false;
|
||||
}
|
||||
if (entity is EntityImprovedGasolineTanker entityImprovedGasolineTanker &&
|
||||
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyShip && (
|
||||
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyShip.BodyColor ||
|
||||
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyShip.DopColor ||
|
||||
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyShip.BodyKit))
|
||||
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyGasolineTanker && (
|
||||
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyGasolineTanker.BodyColor ||
|
||||
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyGasolineTanker.DopColor ||
|
||||
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyGasolineTanker.BodyKit))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user