Browse Source

[fixed] missing variable in family and duplication duplication of kolka links on weekend.

3xpurt 6 years ago
parent
commit
d114ac14fb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      locations/family.qsrc

+ 3 - 1
locations/family.qsrc

@@ -121,8 +121,10 @@ if StoryLine = 1:
 
 		 if $loc = 'sitrPar' or ($loc = 'family' and $metka = 'sofa'):
 			if hour < 7 and brothemorningsex = daystart:
+				ocpd_room = 1
 				'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is getting ready for school.'
 			elseif hour < 7 and brothermorningsex ! daystart:
+				ocpd_room = 1
 				'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sleeping on the sofa.'
 			elseif hour >= 23:
 				ocpd_room = 1
@@ -165,7 +167,7 @@ if StoryLine = 1:
 					end
 				end
 
-				if hour >= 18 and hour <= 23:
+				if hour >= 18 and hour < 23:
 					ocpd_room = 1
 					'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the sofa, watching TV.'
 				end