Skip to content

Commit

Permalink
Merge pull request #79237 from Rindbee/fix-get_last_modified_time-ret…
Browse files Browse the repository at this point in the history
…urns-0-in-PackedScene

Fix `PackedScene::get_last_modified_time()` always returns `0`
  • Loading branch information
akien-mga committed Jul 10, 2023
2 parents e4be11b + 22edef1 commit aa2a4d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/resources/packed_scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ class PackedScene : public Resource {
virtual void set_path(const String &p_path, bool p_take_over = false) override;
#ifdef TOOLS_ENABLED
virtual void set_last_modified_time(uint64_t p_time) override {
Resource::set_last_modified_time(p_time);
state->set_last_modified_time(p_time);
}

Expand Down

0 comments on commit aa2a4d2

Please sign in to comment.