Skip to content

Commit

Permalink
CalculateMaps assigns icons of mechanics and needs to finish before r…
Browse files Browse the repository at this point in the history
…endering icons
  • Loading branch information
SWeini committed Jan 27, 2025
1 parent a49113c commit e9268a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Yafc.Parser/Data/FactorioDataDeserializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ public Project LoadData(string projectPath, LuaTable data, LuaTable prototypes,
rocketCapacity = raw.Get<LuaTable>("utility-constants").Get<LuaTable>("default").Get("rocket_lift_weight", 1000000);
defaultItemWeight = raw.Get<LuaTable>("utility-constants").Get<LuaTable>("default").Get("default_item_weight", 100);
UpdateSplitFluids();
var iconRenderTask = renderIcons ? Task.Run(RenderIcons) : Task.CompletedTask;
UpdateRecipeIngredientFluids(errorCollector);
CalculateMaps(netProduction);
var iconRenderTask = renderIcons ? Task.Run(RenderIcons) : Task.CompletedTask;
UpdateRecipeCatalysts();
CalculateItemWeights();
CalculateMaps(netProduction);
ExportBuiltData();
progress.Report(("Post-processing", "Calculating dependencies"));
Dependencies.Calculate();
Expand Down

0 comments on commit e9268a8

Please sign in to comment.