mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Oops, foreground check needs to actually loop
This commit is contained in:
parent
506f5612c0
commit
1ef851bce4
@ -56,7 +56,7 @@ void UStevesGameSubsystem::InitTheme()
|
||||
void UStevesGameSubsystem::InitForegroundCheck()
|
||||
{
|
||||
// Check foreground status every 0.5 seconds
|
||||
GetWorld()->GetTimerManager().SetTimer(ForegroundCheckHandle, this, &UStevesGameSubsystem::CheckForeground, 0.5);
|
||||
GetWorld()->GetTimerManager().SetTimer(ForegroundCheckHandle, this, &UStevesGameSubsystem::CheckForeground, 0.5, true);
|
||||
}
|
||||
|
||||
void UStevesGameSubsystem::CheckForeground()
|
||||
|
Loading…
x
Reference in New Issue
Block a user