瀏覽代碼

[Fix] Made volleyball notification appear only on tournament days.

R 3 年之前
父節點
當前提交
77a42110a6
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      locations/stat_display.qsrc

+ 2 - 8
locations/stat_display.qsrc

@@ -1088,14 +1088,8 @@ if cheatStatusIcons = 0:
 		end
 	end
 
-	if volleysostav > 0 and volkomday ! daystart:
-		if week ! 6 and volkomday ! daystart and hour <= 18:
-			$stat_volleyball_msg = 'You have volleyball practice today.'
-		elseif week = 6 and sorevday ! daystart and hour <= 18:
-			$stat_volleyball_msg = 'There is volleyball tournament today at 18:00.'
-		elseif week = 6 and sorevday ! daystart and hour > 18:
-			$stat_volleyball_msg = 'You missed volleball tournament!'
-		end
+	if volleysostav > 0 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