瀏覽代碼

[fix] Added day check to volleyball notification.

R 3 年之前
父節點
當前提交
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
 	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.'
 		$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>'
 		$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
 	end