Actually show which player won during post match

This commit is contained in:
Kevin Poretti 2023-01-16 20:31:49 -05:00
parent 672044445c
commit b2b077d6db
4 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -207,7 +207,7 @@ void AGSGameModeBase::FinishMatch()
GetWorldTimerManager().ClearTimer(TimerHandle_DefaultTimer); GetWorldTimerManager().ClearTimer(TimerHandle_DefaultTimer);
GS->ResetTeamScores(); GS->ResetTeamScores();
OnMatchFinished(); OnMatchFinished(WinningTeamIdx);
} }
} }

View File

@ -81,7 +81,7 @@ public:
void FinishMatch(); void FinishMatch();
UFUNCTION(BlueprintImplementableEvent) UFUNCTION(BlueprintImplementableEvent)
void OnMatchFinished(); void OnMatchFinished(int32 WinningTeamIdx);
/** /**
* If the match is in the post match state calling this restarts the game * If the match is in the post match state calling this restarts the game