Skip to content

Commit

Permalink
chore: Added logline (Proper logging method tbd later)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorus committed Jul 13, 2024
1 parent ea3211a commit 0adab5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Yafc.Model/Model/ProductionTable.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
Expand Down Expand Up @@ -188,6 +189,9 @@ private static void AddFlow(RecipeRow recipe, Dictionary<Goods, (double prod, do
prev.cons += recipe.recipesPerSecond * ingredient.amount;
summer[linkedGoods] = prev;
}
else {
Debug.WriteLine("linkedGoods should not have been null here.");
}
}

if (recipe.fuel != null && !float.IsNaN(recipe.parameters.fuelUsagePerSecondPerBuilding)) {
Expand Down

0 comments on commit 0adab5e

Please sign in to comment.