summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scenes/place_detail.c1
-rw-r--r--src/scenes/save_state_select.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/scenes/place_detail.c b/src/scenes/place_detail.c
index 1a7d832..5c365b8 100644
--- a/src/scenes/place_detail.c
+++ b/src/scenes/place_detail.c
@@ -673,6 +673,7 @@ void place_detail_show_schedule_with_highlighted_job(world_location* loc, schedu
_active_schedule_state = VIEWING;
_active_selected_scheduled_job = job;
+ _active_scheduling_job = *job;
selected_tab_index = PLACE_DETAIL_SHOW_MAIN;
current_detail_state = PLACE_DETAIL_SHOW_SCHEDULE;
tag_animation = animation_create(TAG_ANIMATION_DURATION);
diff --git a/src/scenes/save_state_select.c b/src/scenes/save_state_select.c
index 6065735..ae428af 100644
--- a/src/scenes/save_state_select.c
+++ b/src/scenes/save_state_select.c
@@ -559,7 +559,7 @@ static void load_save_file(s32 index)
GET_PROP(employee_id, timeslot_iter, "assignee_id");
u32 emp_id = (u32)employee_id->valuedouble;
- job_time.assignee = get_employee_by_id(existing_loc, emp_id);
+ job_time.assignee = get_employee_by_id_global(new_world, emp_id);
existing_job.timeslots[timeslot_index] = job_time;
timeslot_index++;