Browse Source

[fixed] photography jobs requiring time machine

Felix Chial 9 tháng trước cách đây
mục cha
commit
0bce645ed1
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