Add missing return. Now auto lods will properly be turned off when there are no, or just one mesh in PropInstanceMerger.

This commit is contained in:
Relintai 2021-08-12 19:23:30 +02:00
parent 10256f556c
commit 4d3c87bb09

View File

@ -322,6 +322,8 @@ void PropInstanceMerger::check_auto_lod() {
if (!_building) { if (!_building) {
set_process_internal(false); set_process_internal(false);
} }
return;
} }
_auto_lod_on = true; _auto_lod_on = true;