summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-03 19:10:09 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-03 19:10:09 +0100
commit917de584f88294235f3972e5f45ca9cdf6a70484 (patch)
treec1025e0c19b72c192980c9ff300e4da243eda6fa
parent7c889d5a80a59d3281775c3ea731f4e640295353 (diff)
small fix
-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;