Browse Source

[fixed] afterschool events checks

Lusticon 4 months ago
parent
commit
51d9aa9bca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/gschool_grounds.qsrc

+ 1 - 1
locations/gschool_grounds.qsrc

@@ -53,7 +53,7 @@ if $ARGS[0] = 'main':
 		end
 	end
 
-	if week < 6 and hour = 14 and kanikuli = 0 and afterschool_day ! daystart and suspended['on'] ! 1:
+	if week < 6 and hour = 14 and kanikuli = 0 and afterschool_day ! daystart and suspended['on'] ! 1 and SchoolAtestat = 0 and SchoolBlock = 0:
 		afterschool_day = daystart
 		if rand(0,3) = 0:
 			$eventtype = 'after_school'