Harden gameplay input restore after frontend
This commit is contained in:
@@ -33,6 +33,8 @@ EXPECTED = {
|
||||
"AgrarianGamePlayerController.h": [
|
||||
"ShowMvpPauseMenu",
|
||||
"HandleMvpEscapeInput",
|
||||
"RestoreGameplayControlState",
|
||||
"AgrarianRepairGameplayInput",
|
||||
],
|
||||
"AgrarianGamePlayerController.cpp": [
|
||||
"SetIgnoreMoveInput(true)",
|
||||
@@ -46,6 +48,11 @@ EXPECTED = {
|
||||
"ResetIgnoreMoveInput();",
|
||||
"ResetIgnoreLookInput();",
|
||||
"ApplyDefaultInputMappingContexts();",
|
||||
"void AAgrarianGamePlayerController::RestoreGameplayControlState()",
|
||||
"ControlledPawn->SetActorHiddenInGame(false)",
|
||||
"ControlledPawn->SetActorEnableCollision(true)",
|
||||
"MovementComponent->SetMovementMode(MOVE_Walking)",
|
||||
"void AAgrarianGamePlayerController::AgrarianRepairGameplayInput()",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@@ -52,8 +52,9 @@ def main() -> None:
|
||||
"SetIgnoreMoveInput(true)",
|
||||
"SetIgnoreLookInput(true)",
|
||||
"SetInputMode(FInputModeGameOnly())",
|
||||
"SetIgnoreMoveInput(false)",
|
||||
"SetIgnoreLookInput(false)",
|
||||
"ResetIgnoreMoveInput()",
|
||||
"ResetIgnoreLookInput()",
|
||||
"RestoreGameplayControlState",
|
||||
"saving",
|
||||
):
|
||||
require(token in controller + frontend, f"missing modal input or debug token: {token}")
|
||||
|
||||
Reference in New Issue
Block a user