diff --git a/public/assets/world/UI/ebike.webm b/public/assets/world/UI/ebike-mission-notification.webm similarity index 100% rename from public/assets/world/UI/ebike.webm rename to public/assets/world/UI/ebike-mission-notification.webm diff --git a/public/assets/world/UI/laferme.webm b/public/assets/world/UI/farm-mission-notification.webm similarity index 100% rename from public/assets/world/UI/laferme.webm rename to public/assets/world/UI/farm-mission-notification.webm diff --git a/public/assets/world/UI/centrale.webm b/public/assets/world/UI/pylon-mission-notification.webm similarity index 100% rename from public/assets/world/UI/centrale.webm rename to public/assets/world/UI/pylon-mission-notification.webm diff --git a/src/components/ui/MissionNotification.tsx b/src/components/ui/MissionNotification.tsx index 439ed9f..7b64447 100644 --- a/src/components/ui/MissionNotification.tsx +++ b/src/components/ui/MissionNotification.tsx @@ -14,6 +14,7 @@ export function MissionNotification({ }: MissionNotificationProps): React.JSX.Element { const src = imagePath ?? (mission ? MISSION_NOTIFICATION_IMAGE_PATHS[mission] : ""); + const isVideo = src.toLowerCase().endsWith(".webm"); return (