Fixed order of parameters when updating resource cache file (fixes #31930)

This commit is contained in:
PouleyKetchoupp 2019-09-04 13:35:06 +02:00
parent 750f8d4926
commit c6ddaacf59

View file

@ -295,8 +295,9 @@ void EditorResourcePreview::_thread() {
//update modified time
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(modtime));
f->store_line(md5);
memdelete(f);
}