Browse Source

Merge branch 'master' of LinaHirata/glife into master

[fixed] this should fix photography jobs schedule :peepoShrug:
Kevin_Smarts 9 tháng trước cách đây
mục cha
commit
21f839d704
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      locations/emp_functions.qsrc

+ 1 - 0
locations/emp_functions.qsrc

@@ -312,6 +312,7 @@ if $ARGS[0] = 'gen_evt':
 	if srch_day_u >= monthsend[transient_evt_month]:
 		srch_day_u = monthsend[transient_evt_month]
 		srch_day_l = monthsend[transient_evt_month]  - rand(7,14)
+		if srch_day_l <= day: srch_day_l = day + 1
 	else
 		srch_day_l = rnd_day
 	end