Improve Game Over Screen
This commit is contained in:
@@ -586,10 +586,6 @@ void ASpaceshipPawn::Die()
|
||||
DisableInput(PC);
|
||||
}
|
||||
|
||||
// You could either restart the level after a delay or show a game over screen here
|
||||
// For example:
|
||||
// GetWorldTimerManager().SetTimer(RestartTimerHandle, this, &ASpaceshipPawn::RestartLevel, 3.0f, false);
|
||||
|
||||
// For now, just log the death
|
||||
if (GEngine)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user