Bugfix Open World Intro Cinematic Locking Player Even when no Cinematic is Being Played

This commit is contained in:
Rafal Swierczek 2024-05-10 17:32:06 +01:00
parent 6d8dad1cb4
commit 2c088ffb02
7 changed files with 18 additions and 11 deletions

Binary file not shown.

View File

@ -49,6 +49,13 @@ public:
UPROPERTY(BlueprintReadOnly)
bool EnteredApartmentThroughVent = false;
UFUNCTION(BlueprintCallable)
bool IsFirstPlaythrough()
{
if (!IsValid(MainSaveGameInstanceRef)) return false;
return MainSaveGameInstanceRef->bFirstPlaythroughSave;
}
protected:
virtual void OnStart() override;