summaryrefslogtreecommitdiff
path: root/core/io/resource_loader.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-02 21:45:24 +0100
committerGitHub <noreply@github.com>2018-12-02 21:45:24 +0100
commit8dd00ed1762c4956b3231d709ce0d01ee9b306c8 (patch)
treea29c890d9247a78a845cde06271d3bddc972ba72 /core/io/resource_loader.h
parente2caaf1b6d6fbea95fe410f56e99f1ce6bd66c35 (diff)
parent69fe17639e2a5b7ca31ba5ccf2ac49a9b9ae293e (diff)
Merge pull request #24117 from Paulb23/txt_file_last_modified_time
Fix text files constantly asking for reload as no last modified time
Diffstat (limited to 'core/io/resource_loader.h')
-rw-r--r--core/io/resource_loader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h
index 7ade4a2dfc..a46a00203f 100644
--- a/core/io/resource_loader.h
+++ b/core/io/resource_loader.h
@@ -123,6 +123,7 @@ public:
static int get_import_order(const String &p_path);
static void set_timestamp_on_load(bool p_timestamp) { timestamp_on_load = p_timestamp; }
+ static bool get_timestamp_on_load() { return timestamp_on_load; }
static void notify_load_error(const String &p_err) {
if (err_notify) err_notify(err_notify_ud, p_err);