We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e48ea5 + eac5c66 commit 7d5ea61Copy full SHA for 7d5ea61
1 file changed
scripts/specializations/CpCourseManager.lua
@@ -367,7 +367,7 @@ function CpCourseManager:onPreDelete()
367
if spec then
368
g_assignedCoursesManager:unregisterVehicle(self, self.id)
369
CpCourseManager.resetCourses(self)
370
- spec.courseDisplay:delete()
+ if spec.courseDisplay then spec.courseDisplay:delete() end
371
spec.courseDisplay = nil
372
end
373
0 commit comments