Merge pull request #79237 from Rindbee/fix-get_last_modified_time-returns-0-in-PackedScene

Fix `PackedScene::get_last_modified_time()` always returns `0`
This commit is contained in:
Rémi Verschelde 2023-07-10 10:36:52 +02:00
commit aa2a4d23d8
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -255,6 +255,7 @@ public:
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);
}