Updated TurnBaseCombat to Reset Resource Values

Temp until resource gathering
This commit is contained in:
Philip W 2023-01-31 01:25:54 +00:00
parent d9584f3b55
commit 5b60412cf9

View File

@ -39,6 +39,9 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy)
HUD->AddToViewport();
EnemyActor = Enemy;
IronResource = 10;
SulfurResource = 10;
if (APlayerController* PC = Cast<APlayerController>(GetWorld()->GetFirstPlayerController()))
{
PC->bShowMouseCursor = true;