diff options
author | Daniele Giuliani <d.giuliani304@gmail.com> | 2018-05-16 00:50:57 +0200 |
---|---|---|
committer | Daniele Giuliani <d.giuliani304@gmail.com> | 2018-05-16 00:50:57 +0200 |
commit | d315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5 (patch) | |
tree | 3ce31259c79d26f74f1dfcd9c9d4a77df261ce61 /core/io/resource_loader.cpp | |
parent | 005b69cf6e276209464cc8c36ebc7376679925b6 (diff) | |
download | redot-engine-d315b0fb8aa03ee6ecc7d93d884b606dc19c6ad5.tar.gz |
added get_creation_time function for gdscript
Diffstat (limited to 'core/io/resource_loader.cpp')
-rw-r--r-- | core/io/resource_loader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 1351030d1e..86bf77318e 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -231,6 +231,7 @@ RES ResourceLoader::load(const String &p_path, const String &p_type_hint, bool p res->set_edited(false); if (timestamp_on_load) { uint64_t mt = FileAccess::get_modified_time(path); + uint64_t ct = FileAccess::get_creation_time(path); // NEW FUNCTION //printf("mt %s: %lli\n",remapped_path.utf8().get_data(),mt); res->set_last_modified_time(mt); } |