ekolis / ekolis/FrEee

Scrapping should happen before construction

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
bug
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**
![image](https://github.com/ekolis/FrEee/assets/2612506/1c744fbf-c558-4512-93d0-c19efd5d2440)

**Additional context**
turn 5-6 of littlefreees

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.