Skip to content

Commit

Permalink
disabled updater outside the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriySalnikov committed Dec 1, 2023
1 parent a640b6c commit 6adbd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asset_library_update_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ AssetLibraryUpdateChecker::AssetLibraryUpdateChecker() {
DEFINE_SETTING_READ_ONLY(root_settings_section + "addon_page", godot_asset_page + String::num_int64(addon_id), Variant::STRING);
DEFINE_SETTING_AND_GET(bool check_updates, root_settings_section + "check_for_updates", true, Variant::BOOL);

if (check_updates)
if (IS_EDITOR_HINT() && check_updates)
call_deferred(NAMEOF(init));
}

Expand Down

0 comments on commit 6adbd95

Please sign in to comment.