1
0
Prechádzať zdrojové kódy

[fixed] arrsize takes strings as argument.

bgkjdgbizgblzdgbr 1 týždeň pred
rodič
commit
f9d7ce1270
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      locations/pav_disco.qsrc

+ 1 - 2
locations/pav_disco.qsrc

@@ -499,7 +499,6 @@ if $ARGS[0] = 'wall_stand':
 			if rand(0, 10) <= pcs_hotcat:
 				gs 'pav_disco', 'dance_partner'
 				gs 'stat'
-				exit
 			end
 		end
 	end
@@ -509,7 +508,7 @@ if $ARGS[0] = 'dance_partner':
 	cla
 	!!the creation of a partner to dance
 	temp['pav_disco_partner'] = rand(1,300)
-	if temp['pav_disco_partner'] > boynum or (arrsize $hookup_partners = 0):
+	if temp['pav_disco_partner'] > boynum or (arrsize '$hookup_partners' = 0):
 		gs 'npcgeneratec', 0, 'guy from the disco', 0, rand(1,4)
 		if npc_finance[$npcID] = 2 and npc_age[$npcID] < 26: npc_age[$npcID] = rand(26, 45)
 		gs 'boystat', $npclastgenerated