Skip to content

Commit

Permalink
Fix clang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Aug 6, 2024
1 parent f02eac5 commit 5f4a4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/UEST/Private/ScopedGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct FCVarGuard final : FNoncopyable
: Variable{Variable}
, OldValue{Variable ? Variable->GetString() : TEXT("")}
{
if (Variable || CVarConfig.bEnsureIfVariableNotFound && ensureAlways(Variable))
if (Variable || (CVarConfig.bEnsureIfVariableNotFound && ensureAlways(Variable)))
{
Variable->Set(*CVarConfig.Value);
}
Expand Down

0 comments on commit 5f4a4ac

Please sign in to comment.