fix: first chunk build called deferred

This commit is contained in:
Sara Gerretsen 2026-01-07 17:31:52 +01:00
parent 2b04362ecc
commit 8b0bee1f04

View file

@ -83,7 +83,7 @@ void TerrainMeshGenerator::_notification(int what) {
enter_tree(); enter_tree();
return; return;
case NOTIFICATION_READY: case NOTIFICATION_READY:
rebuild_chunks(); callable_mp(this, &self_type::rebuild_chunks).call_deferred();
break; break;
case NOTIFICATION_PROCESS: case NOTIFICATION_PROCESS:
process(); process();