Skip to content

Commit

Permalink
Fix an issue with randexp reaction
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Feb 17, 2024
1 parent fdc2d6d commit cdaa35d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/topic.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,9 @@ init 10 python in _fom_saysomething_reactions:
def handle_reaction_randexp(session):
# Only react when a random expression was used
# Priority is -1 so any other reaction goes ahead
return store.picker.random_exp_used
if hasattr(store, "picker") and store.picker is not None:
return store.picker.random_exp_used
return False

label fom_saysomething_reaction_randexp_before:
m 2hkbssdlb "Wow, [player], you really made me make quite a face...{w=0.3} Ahaha!"
Expand Down

0 comments on commit cdaa35d

Please sign in to comment.