1
0
Prechádzať zdrojové kódy

[fixed] forgot to remove unnecessary bits

Sicaa 4 rokov pred
rodič
commit
0f3001d076
1 zmenil súbory, kde vykonal 0 pridanie a 17 odobranie
  1. 0 17
      locations/gschool_groups.qsrc

+ 0 - 17
locations/gschool_groups.qsrc

@@ -214,33 +214,16 @@ if $ARGS[0] = 'hotornot':
 		i = 1
 		:ho_loop
 			if ho_count = 6 : $ho_text += '<tr>'
-!!the stuff for the player could be dropped but I don't want to just delete it it all incase some of it is needed
-			if hotcat = j and hotcat_rating_set = 0:
-				ho_count += 1
-				hotcat_rating_set = 1
-				if player_avatar = 1:
-					$ho_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/avatar.jpg"><br>' + '<<$pcs_nickname>>, <<hotcat>>/10'
-				else
-					$ho_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="<<FUNC(''$face_image'')>>"><br>' + '<<$pcs_nickname>>, <<hotcat>>/10'
-				end
-			elseif hotcat ! j or hotcat_rating_set = 1:
-				if hotcat_rating['A<<i>>'] = j:
-					ho_count += 1
-					$ho_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + '<<$npc_usedname[''A<<i>>'']>>, <<hotcat_rating[''A<<i>>'']>>/10'
-				end
-			end
 			if ho_count < 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 0:
 				$ho_text += '</td>'
 			elseif ho_count = 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 0:
 				$ho_text +='</td></tr><tr>' & ho_count = 0
 			end
-			if hotcat ! j or hotcat_rating_set = 1: i += 1
 		if i <= aarraynumber:jump 'ho_loop'
 	if j > 1: jump 'ho_loop_2'
 
 	'<<$ho_text>>'
 	'</table></center>'
-	killvar 'hotcat_rating_set'
 	killvar 'i'
 	killvar 'j'
 end