Parcourir la source

Merge remote-tracking branch 'Anjuna/master'

Kevin_Smarts il y a 1 mois
Parent
commit
6a5f4ac732
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      locations/nerd_game_night.qsrc

+ 2 - 2
locations/nerd_game_night.qsrc

@@ -1511,9 +1511,9 @@ end
 
 
 if $ARGS[0] = 'game_invite_sms_switch':
-	if $start_type['loc'] = 'sg' and (grupTipe = 3 or nerd_game['stage'] > 0 or rand(80, npc_rel['A152']) > 95):
+	if yearstart = 1 and (grupTipe = 3 or nerd_game['stage'] > 0 or rand(80, npc_rel['A152']) > 95):
 		gs 'nerd_game_night', 'summer_invite_sms', 'Add SMS'
-	elseif ($start_type['loc'] = 'uni' or $start_type['loc'] = 'city') and nerd_game['fixed_uni_day'] = 0 and (nerd_game['stage'] > 0 or rand(80, npc_rel['A152']) > 95):
+	elseif yearstart >= 2 and nerd_game['fixed_uni_day'] = 0 and (nerd_game['stage'] > 0 or rand(80, npc_rel['A152']) > 95):
 		gs 'nerd_game_night', 'summer2_invite_sms', 'Add SMS'
 	end
 	gs 'telefon', 'SetSMSSchedule', 'A152', "", "0", "", "0"