Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Game/Content/Controllers/BP_GDK_PlayerController.uasset
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ void AGDKPlayerController::BeginPlay()

void AGDKPlayerController::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);

if (GetPawn())
{
LatestPawnYaw = GetPawn()->GetActorRotation().Yaw;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class GDKSHOOTER_API UDeathmatchSpawnerComponent : public UActorComponent
UFUNCTION(BlueprintCallable)
void DisableSpawning() { bSpawningEnabled = false; }

UFUNCTION(BlueprintCallable)
bool IsSpawningEnabled() { return bSpawningEnabled; }

protected:
AActor* GetSpawnPoint(APlayerController* Controller);

Expand Down