Make cyclic resource inclusion error message more helpful
This commit is contained in:
parent
05e4303e1d
commit
37c4bc64de
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void Resource::set_path(const String &p_path, bool p_take_over) {
|
|||
bool exists = ResourceCache::resources.has(p_path);
|
||||
ResourceCache::lock->read_unlock();
|
||||
|
||||
ERR_EXPLAIN("Another resource is loaded from path: " + p_path);
|
||||
ERR_EXPLAIN("Another resource is loaded from path: " + p_path + " (possible cyclic resource inclusion)");
|
||||
ERR_FAIL_COND(exists);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue