You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fixed order of parameters when updating resource cache file (fixes #31930)
This commit is contained in:
@@ -295,8 +295,9 @@ void EditorResourcePreview::_thread() {
|
|||||||
//update modified time
|
//update modified time
|
||||||
|
|
||||||
f = FileAccess::open(file, FileAccess::WRITE);
|
f = FileAccess::open(file, FileAccess::WRITE);
|
||||||
f->store_line(itos(modtime));
|
f->store_line(itos(thumbnail_size));
|
||||||
f->store_line(itos(has_small_texture));
|
f->store_line(itos(has_small_texture));
|
||||||
|
f->store_line(itos(modtime));
|
||||||
f->store_line(md5);
|
f->store_line(md5);
|
||||||
memdelete(f);
|
memdelete(f);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user