Bugfix Changed Max Ammo for Resource Bars

This commit is contained in:
Philip W 2023-05-12 16:51:06 +01:00
parent 0c237ca411
commit 99b1763f4f

View File

@ -716,10 +716,10 @@ void ATurnBaseCombatV2::UpdateBattleLog()
void ATurnBaseCombatV2::UpdateResourceBars() const
{
ProbertiumResourceBar->SetPercent(ProbertiumResource / 10.0f);
EisResourceBar->SetPercent(EisResource / 10.0f);
AzosResourceBar->SetPercent(AzosResource / 10.0f);
IroquoidResourceBar->SetPercent(IroquoidResource / 10.0f);
ProbertiumResourceBar->SetPercent(ProbertiumResource / 20.0f);
EisResourceBar->SetPercent(EisResource / 20.0f);
AzosResourceBar->SetPercent(AzosResource / 20.0f);
IroquoidResourceBar->SetPercent(IroquoidResource / 20.0f);
ToggleButtonIfResourceAvailable();
}