Browse Source

[Fixed] Disco error

Awesome 1 week ago
parent
commit
e8867d6440
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/pav_disco.qsrc

+ 1 - 1
locations/pav_disco.qsrc

@@ -509,7 +509,7 @@ if $ARGS[0] = 'dance_partner':
 	cla
 	cla
 	!!the creation of a partner to dance
 	!!the creation of a partner to dance
 	temp['pav_disco_partner'] = rand(1,300)
 	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)
 		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)
 		if npc_finance[$npcID] = 2 and npc_age[$npcID] < 26: npc_age[$npcID] = rand(26, 45)
 		gs 'boystat', $npclastgenerated
 		gs 'boystat', $npclastgenerated