fix update of construction progress
This commit is contained in:
parent
1b7fb26bc4
commit
5f05b80db2
@ -61,6 +61,9 @@ internal class ConstructionHelperPage : IPage {
|
||||
if (depot == null) {
|
||||
depot = new() { Station = station, Progress = e.ConstructionProgress };
|
||||
colony.Depots.Add(depot);
|
||||
} else {
|
||||
depot.Progress = e.ConstructionProgress;
|
||||
tree.RefreshObject(depot, false);
|
||||
}
|
||||
|
||||
foreach (var resource in e.ResourcesRequired) {
|
||||
|
@ -50,7 +50,6 @@ internal class Edith {
|
||||
|
||||
private async Task RunGUILoop() {
|
||||
RunState state;
|
||||
bool first = true;
|
||||
|
||||
if (window == null) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user