diff --git a/src/routes/(app)/server/[id]/+page.svelte b/src/routes/(app)/server/[id]/+page.svelte index c2390221..05a00460 100644 --- a/src/routes/(app)/server/[id]/+page.svelte +++ b/src/routes/(app)/server/[id]/+page.svelte @@ -43,6 +43,8 @@ let teamFilter = $state(''); let now = $state(Date.now()); let showPicker = $state(false); + /** the time of day & weather to set on the match in progress; '' until one is picked */ + let weather = $state(''); let broadcast = $state(''); /** who the message goes to: '' is everyone (a broadcast), else a faction (a whisper to each on it) */ let to = $state(''); @@ -424,6 +426,25 @@ ? 'Both travel when the match-end screen finishes, not when the button is pressed.' : 'You have view-only access to this server.'}

+
{ + e.preventDefault(); + void act('setWeather', { lighting: weather }, { after: refreshStatus }); + }} + > + +
+ + +
+

Changes the match in progress at once; the map does not reload.

+
{