Prevent impossibly-high skill requirements for contracts.
This commit is contained in:
parent
786a136bd0
commit
656e213beb
@ -121,6 +121,10 @@ this._addParcelToSystem = function(parcel)
|
||||
{
|
||||
parcel.skill = 0;
|
||||
}
|
||||
else if (parcel.skill > 70)
|
||||
{
|
||||
parcel.skill = 70;
|
||||
}
|
||||
|
||||
this.$parcels.push(parcel);
|
||||
this._updateMainStationInterfacesList();
|
||||
|
@ -123,6 +123,10 @@ this._addPassengerToSystem = function(passenger)
|
||||
{
|
||||
passenger.skill = 0;
|
||||
}
|
||||
else if (passenger.skill > 70)
|
||||
{
|
||||
passenger.skill = 70;
|
||||
}
|
||||
|
||||
this.$passengers.push(passenger);
|
||||
this._updateMainStationInterfacesList();
|
||||
|
Loading…
x
Reference in New Issue
Block a user