Improve Game Over Screen

This commit is contained in:
2025-04-16 13:57:06 +05:30
parent f732cdef59
commit 7f08808b71
6 changed files with 127 additions and 29 deletions

View File

@@ -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)
{