Scrapping should happen before construction
- Dominant language
- C#
- Stars
- 86
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
If you scrap a facility on a planet and also build a new one on the same turn, it won't work because scrapping happens after construction.
**To Reproduce**
Steps to reproduce the behavior:
1. Scrap a facility
2. Build another facility on the same planet
3. Process the turn
**Expected behavior**
The facility is replaced
**Actual behavior**
The old facility is gone and you get an error saying there was no room to build the new facility
**Screenshots**

**Additional context**
turn 5-6 of littlefreees
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.