Skip to content

Commit

Permalink
use global store in conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
multimokia committed Jun 4, 2020
1 parent 16e9376 commit 25ef922
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Monika After Story/game/script-farewells.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ init -1 python in mas_farewells:
return False

#Conditional check (Since it's ideally least likely to be used)
if ev.conditional is not None and not eval(ev.conditional):
if ev.conditional is not None and not store.eval(ev, store.__dict__):
return False

# otherwise, we passed all tests
Expand Down Expand Up @@ -104,10 +104,10 @@ init -1 python in mas_farewells:
# now filter
for ev_label, ev in fare_db.iteritems():
if _filterFarewell(
ev,
curr_priority,
aff,
check_time
ev,
curr_priority,
aff,
check_time
):
# change priority levels and stuff if needed
ev_priority = store.MASPriorityRule.get_priority(ev)
Expand Down

0 comments on commit 25ef922

Please sign in to comment.