Explorar el Código

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

Kevin_Smarts hace 2 años
padre
commit
336c35094f
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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':