Jelajahi Sumber

[fix] Added day check to volleyball notification.

R 3 tahun lalu
induk
melakukan
178316f78e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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