(Feat) Fix Fade Loading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user