Praying/Sitting npcs who can't see the player when interacted with are made stand up by their script state end function. In Npc::startState aiQueue is cleared after calling the end function so stand up never happens. This is resolved by swapping clearAiQueue and clearState.
Praying/Sitting npcs who can't see the player when interacted with are made stand up by their script state end function. In
Npc::startState
aiQueue is cleared after calling the end function so stand up never happens. This is resolved by swappingclearAiQueue
andclearState
.