Updated TurnBaseCombat to Reset Resource Values
Temp until resource gathering
This commit is contained in:
parent
d9584f3b55
commit
5b60412cf9
@ -39,6 +39,9 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy)
|
|||||||
HUD->AddToViewport();
|
HUD->AddToViewport();
|
||||||
EnemyActor = Enemy;
|
EnemyActor = Enemy;
|
||||||
|
|
||||||
|
IronResource = 10;
|
||||||
|
SulfurResource = 10;
|
||||||
|
|
||||||
if (APlayerController* PC = Cast<APlayerController>(GetWorld()->GetFirstPlayerController()))
|
if (APlayerController* PC = Cast<APlayerController>(GetWorld()->GetFirstPlayerController()))
|
||||||
{
|
{
|
||||||
PC->bShowMouseCursor = true;
|
PC->bShowMouseCursor = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user