From 8ac248ff5745cfb211bd7cc9128daf0be8920331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Thu, 8 Feb 2024 10:11:32 +0100 Subject: [PATCH] add a PSA for WGPU update --- server/src/routes/api.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/src/routes/api.rs b/server/src/routes/api.rs index 7e9cd043..59b574e4 100644 --- a/server/src/routes/api.rs +++ b/server/src/routes/api.rs @@ -29,9 +29,14 @@ pub struct Announcement { /// Public Service Announcement to be displayed in Airshipper #[get("/announcement")] pub async fn announcement(_db: crate::DbConnection) -> Json { + use chrono::TimeZone; Json(Announcement { - message: None, - last_change: chrono::Utc::now(), + message: Some( + "Try switching the graphics mode to Auto or OpenGL, in case you experience \ + issues starting Veloren on Windows." + .to_string(), + ), + last_change: chrono::Utc.with_ymd_and_hms(2024, 2, 8, 8, 0, 0).unwrap(), }) }