Skip to content

Instantly share code, notes, and snippets.

@dorgonman
Created June 30, 2018 16:19
Show Gist options
  • Save dorgonman/9b62afabd399b7fbc855b64ee3e08757 to your computer and use it in GitHub Desktop.
Save dorgonman/9b62afabd399b7fbc855b64ee3e08757 to your computer and use it in GitHub Desktop.
wordpress_post1583_01.cpp
void AMySpectatorPawn::PossessedBy(class AController* NewController)
{
Super::PossessedBy(NewController);
auto pPC = Cast<ASpectatorTestPlayerController>(GetController());
if (pPC)
{
pPC->Server_SpectatorReady();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment