1
0
Преглед на файлове

[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"