Actually show which player won during post match
This commit is contained in:
		
							parent
							
								
									672044445c
								
							
						
					
					
						commit
						b2b077d6db
					
				
							
								
								
									
										
											BIN
										
									
								
								GravityStomp/Content/Core/BP_GSDefaultGameMode.uasset
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								GravityStomp/Content/Core/BP_GSDefaultGameMode.uasset
									 (Stored with Git LFS)
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								GravityStomp/Content/UI/InGame/WBP_PostMatchMenu.uasset
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								GravityStomp/Content/UI/InGame/WBP_PostMatchMenu.uasset
									 (Stored with Git LFS)
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -207,7 +207,7 @@ void AGSGameModeBase::FinishMatch()
 | 
			
		||||
        GetWorldTimerManager().ClearTimer(TimerHandle_DefaultTimer);
 | 
			
		||||
        GS->ResetTeamScores();
 | 
			
		||||
 | 
			
		||||
        OnMatchFinished();
 | 
			
		||||
        OnMatchFinished(WinningTeamIdx);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -81,7 +81,7 @@ public:
 | 
			
		||||
	void FinishMatch();
 | 
			
		||||
 | 
			
		||||
	UFUNCTION(BlueprintImplementableEvent)
 | 
			
		||||
	void OnMatchFinished();
 | 
			
		||||
	void OnMatchFinished(int32 WinningTeamIdx);
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 *	If the match is in the post match state calling this restarts the game 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user