Fixed kg and g unit commodities not being removed when player ship was being replaced or when a new one was bought and excess kg and g quantities beyond station's capacity remained unsold during the cargo selling phase.
parent
610929409b
commit
d1ab638927
|
@ -1882,13 +1882,9 @@ static NSMutableDictionary *currentShipyard = nil;
|
|||
|
||||
- (void) newShipCommonSetup:(NSString *)shipKey yardInfo:(NSDictionary *)ship_info baseInfo:(NSDictionary *)ship_base_dict
|
||||
{
|
||||
|
||||
if (current_cargo)
|
||||
{
|
||||
// Zero out our manifest.
|
||||
[shipCommodityData removeAllGoods];
|
||||
current_cargo = 0;
|
||||
}
|
||||
// Zero out our manifest.
|
||||
[shipCommodityData removeAllGoods];
|
||||
current_cargo = 0;
|
||||
|
||||
// drop all passengers
|
||||
[passengers removeAllObjects];
|
||||
|
|
Loading…
Reference in New Issue