1
0
Bläddra i källkod

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

anjuna krokus 1 månad sedan
förälder
incheckning
dedc8f5ff0
1 ändrade filer med 2 tillägg och 2 borttagningar
  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"