From 4706519a63d33a5b15a9edeff68c56c6211f8442 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Tue, 18 Jun 2024 18:45:13 +0100 Subject: [PATCH] Handle empty history --- game/scripts/gui/history.rpy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/game/scripts/gui/history.rpy b/game/scripts/gui/history.rpy index 7843e6ca..c7dcbc0f 100644 --- a/game/scripts/gui/history.rpy +++ b/game/scripts/gui/history.rpy @@ -18,6 +18,10 @@ screen history(): vbox: style "history_vbox" + + if not _history_list: + text "Nothing here yet..." style "navigation_text" + for entry in _history_list: button: style "history_entry" @@ -37,6 +41,7 @@ screen history(): $ what = renpy.filter_text_tags(entry.what, allow=gui.history_allow_tags) text what style "history_text_what": substitute False + frame style "navigation_page_right": add "doodle_mountains" align (0.5, 0.5)