Browse Source

[fixed] Myles broke stat_display and the entire game with it

anjuna krokus 4 tháng trước cách đây
mục cha
commit
fc45f600d7
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      locations/emp_functions.qsrc
  2. 1 1
      locations/stat_display.qsrc

+ 1 - 1
locations/emp_functions.qsrc

@@ -203,7 +203,7 @@ if $ARGS[0] = 'job_alert':
 			end
 		end
 		s_hour += 1
-	if s_hour <= 24 or jmp_clear = 0 : jump 's_hour'
+	if s_hour <= 24 and jmp_clear = 0: jump 's_hour'
 end
 !! --------------------- Event Generator
 

+ 1 - 1
locations/stat_display.qsrc

@@ -1415,7 +1415,7 @@ else
 		!! set job_start and job_end variables using week variable for jobs that are tracked.
 		gs 'emp_functions', 'job_alert'
 	end
-	if work> 0 and  hour < job_end:
+	if work > 0 and  hour < job_end:
 		!! jclose and $jumploc are used to set landing pages in journal.
 		$statusIconBarTab += '<td><a href="exec: jclose = 1 & $jumploc = ''worktab'' & gt ''journal_work'', ''start''"><img title="You have a job. Click to find out more." height = <<set_siconht>> src="images/system/icons/status/work.png"></a></td>'
 	end