A few bug fixes. Part of major refactor.
This commit is contained in:
@@ -305,7 +305,7 @@ void update_blessings() {
|
||||
if (blessing_speed_active && blessing_speed_timer.elapsed >= BLESSING_SPEED_DURATION) {
|
||||
blessing_speed_active = false;
|
||||
update_max_health_from_equipment();
|
||||
screen_reader_speak("The speed blessing fades.", true);
|
||||
speak_with_history("The speed blessing fades.", true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ void update_time() {
|
||||
if (storage_meat > 0) {
|
||||
int gained = add_barricade_health(residents_count);
|
||||
if (gained > 0 && x <= BASE_END) {
|
||||
screen_reader_speak("Residents repaired the barricade. +" + gained + " health.", true);
|
||||
speak_with_history("Residents repaired the barricade. +" + gained + " health.", true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,7 +432,7 @@ void update_incense_burning() {
|
||||
|
||||
void check_time_input() {
|
||||
if (key_pressed(KEY_T)) {
|
||||
screen_reader_speak(get_time_string(), true);
|
||||
speak_with_history(get_time_string(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user