1
0
Просмотр исходного кода

[fix] Added day check to volleyball notification.

R 3 лет назад
Родитель
Сommit
178316f78e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      locations/stat_display.qsrc

+ 1 - 1
locations/stat_display.qsrc

@@ -1088,7 +1088,7 @@ if cheatStatusIcons = 0:
 		end
 	end
 
-	if volleysostav > 0 and sorevday ! daystart and hour <= 18:
+	if volleysostav > 0 and week = 6 and sorevday ! daystart and hour <= 18:
 		$stat_volleyball_msg = 'There is volleyball tournament today at 18:00.'
 		$statusIconBarTab += '<td><a href="exec: msg $stat_volleyball_msg"><img title="<<$stat_volleyball_msg>>" height = <<set_siconht>> src="images/system/icons/status/volleball.png"></a></td>'
 	end