summaryrefslogtreecommitdiff
path: root/core/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/resource.cpp')
-rw-r--r--core/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/resource.cpp b/core/resource.cpp
index df18d9584e..4b09a506ff 100644
--- a/core/resource.cpp
+++ b/core/resource.cpp
@@ -200,7 +200,7 @@ void Resource::set_path(const String& p_path, bool p_take_over) {
if (path_cache!="") {
ResourceCache::lock->write_lock();
- ResourceCache::resources[path_cache]=this;;
+ ResourceCache::resources[path_cache]=this;
ResourceCache::lock->write_unlock();
}
@@ -534,9 +534,9 @@ void ResourceCache::reload_externals() {
bool ResourceCache::has(const String& p_path) {
- lock->read_lock();;
+ lock->read_lock();
bool b = resources.has(p_path);
- lock->read_unlock();;
+ lock->read_unlock();
return b;