Browse Source

[Changed] modify the rad numbers so it wouldn't call an non-existing image

Gwen 3 years ago
parent
commit
d5053c7256
1 changed files with 2 additions and 2 deletions
  1. 2 2
      locations/gschool_events.qsrc

+ 2 - 2
locations/gschool_events.qsrc

@@ -1,5 +1,5 @@
 # gschool_events
-!2021/05/02
+!2021/05/07
 !! Only before class
 if $ARGS[0] = 'teacher_greet':
 	*clr & cla
@@ -359,7 +359,7 @@ if $ARGS[0] = 'break_events':
 		end
 	elseif break_rand =< 5 and pav_slut > 200 and gruptipe ! 4:
 		cla
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/events/urok'+rand(0,9)+'.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/events/urok'+rand(0,8)+'.jpg"></center>'
 		if AlbinaQW['Friends'] >= 1 and SchoolGossip > 0 and rand(0,1) = 0:
 			AlbinaBlockHumiliation = 1
 			minut += 60