ekolis / ekolis/FrEee

Can't load population into cargo when there is already population of the same race (even zero) in cargo

Open
#628 5 comments 0 reactions 1 assignee Claimed by @ekolis View on GitHub
bug
Dominant language
C#
Stars
86
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
If there is population of a particular race in a ship's cargo, even with a quantity of zero, additional population of that race cannot be loaded into that ship's cargo.

**Steps to reproduce**
1. Load population into a ship's cargo
2. Drop the population somewhere
3. Try to load more population into the ship's cargo

**Expected behavior**
The population is loaded into cargo.

**Actual behavior**
The population is not loaded into cargo, and the ship shows having a population quantity of zero in cargo.

**Screenshots**
N/A

**Related issues**
N/A

**Testing plan**
Write a unit test for cargo transfer after confirming that's where the bug is

**Additional context**
N/A

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.