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.
1 parent 2e48ea5 commit f4093e8Copy full SHA for f4093e8
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