Browse Source

[fixed] Default outfit list selected in school defaulted to sports section

Kevin_Smarts 2 years ago
parent
commit
336c35094f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      locations/gschool_lessons4.qsrc

+ 3 - 2
locations/gschool_lessons4.qsrc

@@ -1847,7 +1847,7 @@ if $ARGS[0] = 'dress':
 end
 
 if $ARGS[0] = 'post_dress':
-	*clr & cla
+	if $wloc = '': $wloc = 'default1'
 	$loc_arg = 'post_dress'
 	$locM_arg = 'post_dress'
 	$loc = 'gschool_lessons4'
@@ -1857,10 +1857,11 @@ if $ARGS[0] = 'post_dress':
 	$location_type = 'bathroom'
 	$locclass = 'locker'
 	menu_off = 0
+	*clr & cla
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/gym/locker/postphys<<rand(1,4)>>.jpg"></center>'
 	*nl
-	'You can access your <a href="exec:postphys_event = daystart & gt ''wardrobe'', ''default''">default clothing</a> options directly.'
+	'You can access your <a href="exec:postphys_event = daystart & gt ''wardrobe'', $wloc">default clothing</a> options directly.'
 
 	act 'Leave school':
 		if $clothingworntype = 'nude':