Преглед изворни кода

[fixed] D&D invite not properly switching when starting the uni year

anjuna krokus пре 1 месец
родитељ
комит
dedc8f5ff0
1 измењених фајлова са 2 додато и 2 уклоњено
  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"