(Feat) Fix Fade Loading

This commit is contained in:
2026-08-03 21:10:45 +02:00
parent 7595df6862
commit 1456ed91c7
11 changed files with 925 additions and 28 deletions
@@ -59,6 +59,9 @@ void UScreenFadeComponent::EnsureWidget()
// Un widget n'existe que sur la machine du joueur local : inutile et
// incorrect d'en creer un sur un serveur dedie.
// ATTENTION : chez un client, ce test est FAUX au BeginPlay du controller --
// son ULocalPlayer ne lui est attache qu'ensuite, dans SetPlayer(). Un
// SnapToBlack() fait trop tot noircit donc un voile inexistant, en silence.
if (!Controller->IsLocalController())
{
return;