Explorar o código

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

R %!s(int64=3) %!d(string=hai) anos
pai
achega
77a42110a6
Modificáronse 1 ficheiros con 2 adicións e 8 borrados
  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