weather support

This commit is contained in:
2026-05-15 12:15:03 +03:00
parent e57052fbb0
commit e24568b0bf
6 changed files with 51 additions and 26 deletions

View File

@@ -62,7 +62,7 @@ int get_dome_data(dome_data_t *d){
pthread_mutex_lock(&Dome.mutex);
*d = *((dome_data_t*)&Dome);
pthread_mutex_unlock(&Dome.mutex);
return ForbidObservations;
return (ForbidObservations || BadWeather);
}
void stopserver(){