Skip to content

Commit 74b8f81

Browse files
committed
Add game loading check for tooltips to prevent display on loading screens
1 parent 04e90fa commit 74b8f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrGame/ActorInput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ static bool IsActionKeyPressed(const EGameActions& EGameAction)
597597

598598
static bool IsActionKeyPressedInGame(const EGameActions& EGameAction)
599599
{
600-
return IsActionKeyPressed(EGameAction) && !Console->bVisible && CurrentGameUI() != nullptr && !CurrentGameUI()->TopInputReceiver() && g_pGameLevel && g_pGameLevel->Cameras().GetCamEffector(cefDemo) == nullptr;
600+
return IsActionKeyPressed(EGameAction) && !Console->bVisible && CurrentGameUI() != nullptr && !CurrentGameUI()->TopInputReceiver() && g_pGameLevel && g_pGameLevel->Cameras().GetCamEffector(cefDemo) == nullptr && !load_screen_renderer.IsActive();
601601
}
602602

603603
void CActor::SetActorKeyRepeatFlag(ACTOR_DEFS::EActorKeyflags mask, bool state, bool ignore_suicide)

0 commit comments

Comments
 (0)