Skip to content

Commit

Permalink
Swap check operands
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Jones <matthewj866@gmail.com>
  • Loading branch information
DynamicField and RubyNova authored Jun 13, 2023
1 parent 425cd52 commit 7b1b9e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace NovelRT::ResourceManagement::Desktop

DesktopResourceLoader* DesktopResourceManagementPluginProvider::GetResourceLoaderInternal(bool initAssets)
{
if (!_resourceLoader->GetIsAssetDBInitialised() && initAssets)
if (initAssets && !_resourceLoader->GetIsAssetDBInitialised())
{
_resourceLoader->InitAssetDatabase();
}
Expand Down

0 comments on commit 7b1b9e9

Please sign in to comment.