Enable paying upfront

Fix tab availability on low money

Co-Authored-By: Gustas <37534529+PunkPun@users.noreply.github.com>
This commit is contained in:
N.N
2024-01-10 15:30:52 +01:00
committed by Gustas
parent 2a3271b0d0
commit ccb1bd7a74
4 changed files with 90 additions and 15 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits
.FirstOrDefault(q => q.Enabled && types.Contains(q.Info.Type));
}
if (queue == null || !queue.BuildableItems().Any())
if (queue == null || !queue.AnyItemsToBuild())
return;
if (tabsWidget.Value != null)