mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed incorrect warning message
This commit is contained in:
@@ -829,7 +829,9 @@ impl ResourceManagerState {
|
||||
notify::EventKind::Modify(_) => {
|
||||
changed_resources.insert(relative_path);
|
||||
}
|
||||
notify::EventKind::Remove(_) => {
|
||||
// The resource may be moved together with its metadata, so we need to check
|
||||
// if the resource is actually registered.
|
||||
notify::EventKind::Remove(_) if registry.is_registered(&relative_path) => {
|
||||
match registry.modify().remove_metadata(&relative_path) {
|
||||
Ok(_) => {
|
||||
info!(
|
||||
|
||||
Reference in New Issue
Block a user