fix Ressource name (#596)

* fix Ressource name

* add a fallback

* use the correct name for dk jungle

* use the correct name for macos intel CI

* add print
This commit is contained in:
coco875
2025-12-16 17:46:06 +01:00
committed by GitHub
parent 8250ea5764
commit 6b8be33a5b
23 changed files with 315 additions and 292 deletions
+3 -2
View File
@@ -52,9 +52,10 @@ extern "C" void add_triangle_to_collision_mesh(Vtx* vtx1, Vtx* vtx2, Vtx* vtx3,
}
void RaceManager::Load() {
if (GetWorld()->GetTrack()) {
auto* track = GetWorld()->GetTrack();
if (track) {
mirroredVtxCache.clear();
GetWorld()->GetTrack()->Load();
track->Load();
} else {
printf("[RaceManager] [Load] Track was nullptr\n");
}