summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1d52e5e..49973a4 100644
--- a/src/scenes/place_detail.c
+++ b/src/scenes/place_detail.c
@@ -1301,6 +1301,7 @@ static void place_detail_draw_schedule(platform_window* window)
scheduled_job* prev_selected_scheduled_job = _active_selected_scheduled_job;
_active_schedule_state = VIEWING;
_active_selected_scheduled_job = job;
+ _active_scheduling_job = *job;
_active_schedule_selected_job_index = t;
audio_play_sound(snd_click, AUDIO_CHANNEL_SFX_1);
diff --git a/src/scenes/save_state_select.c b/src/scenes/save_state_select.c
index 026362d..eea022d 100644
--- a/src/scenes/save_state_select.c
+++ b/src/scenes/save_state_select.c
@@ -548,7 +548,7 @@ static void load_save_file(s32 index)
scheduled_job_time job_time;
GET_PROP(day, timeslot_iter, "day");
- job_time.day = (s16)trust->valueint;
+ job_time.day = (s16)day->valueint;
GET_PROP(timeslot, timeslot_iter, "timeslot");
job_time.timeslot = (s16)timeslot->valueint;