Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 856ea26

Browse files
committed
Remove pawn manipulation
1 parent 86db979 commit 856ea26

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Source/TrickyGameMode/Private/PlayerControllerSession.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ void APlayerControllerSession::OnGameModeStateChanged_Implementation(EGameModeSt
5757

5858
case EGameModeState::Finished:
5959
ToggleInput(false, true, FInputModeUIOnly());
60-
61-
if (!GetPawn())
62-
break;
63-
64-
StopMovement();
65-
GetPawn()->TurnOff();
6660
break;
6761

6862
case EGameModeState::Pause:

0 commit comments

Comments
 (0)