summaryrefslogtreecommitdiff
path: root/src/scenes/save_state_select.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-04 21:44:26 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-04 21:44:26 +0100
commit31068b7b2abb092768773e7a23428d2861cc4c7a (patch)
tree4bef2f9df03e0ea0bc0bf146277bbb4ebd48b52a /src/scenes/save_state_select.c
parentef32a4bba790b551821cbcf5b98d9416c86a2761 (diff)
bug fixes
Diffstat (limited to 'src/scenes/save_state_select.c')
-rw-r--r--src/scenes/save_state_select.c2
1 files changed, 1 insertions, 1 deletions
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++;