diff --git a/game/scripts/interface/tooltip.rpy b/game/scripts/interface/tooltip.rpy index b5154ee6..316cafca 100644 --- a/game/scripts/interface/tooltip.rpy +++ b/game/scripts/interface/tooltip.rpy @@ -6,7 +6,7 @@ screen tooltip(): zorder 5 style_prefix "tooltip" - if settings.get("tooltip") and _tooltip: + if settings.get("tooltip") and getattr(store, "_tooltip", None): window: id "tooltip" at tooltip_follow diff --git a/game/scripts/utility/periodic_functions.rpy b/game/scripts/utility/periodic_functions.rpy index 87082d4e..744ff691 100644 --- a/game/scripts/utility/periodic_functions.rpy +++ b/game/scripts/utility/periodic_functions.rpy @@ -1,5 +1,8 @@ init python: def periodic_achievements(): + if not hasattr(store, "achievements"): + return + if _in_replay is None: if not achievements.status('gold') and game.gold >= 10000: achievements.unlock("gold")