Skip to content
Permalink
Browse files

use say_dialogue['seen'] style in seen message

  • Loading branch information...
kyouryuukunn committed Oct 16, 2013
1 parent def9865 commit 4addd74c5e511d08edb0c75182cd8e2d574153d2
Showing with 7 additions and 2 deletions.
  1. +7 −2 renpy/character.py
@@ -139,8 +139,9 @@ def style_args(d):
return d

in_rollback = renpy.exports.in_rollback()

if (not in_rollback) and (not variant):
seen = renpy.game.context().seen_current(True)

if (not in_rollback) and (not variant) and (not seen):
return d

d = d.copy()
@@ -155,6 +156,8 @@ def style_args(d):

if in_rollback:
style = style["rollback"]
elif seen:
style = style["seen"]

d["style"] = style

@@ -232,6 +235,8 @@ def merge_style(style, properties):

if renpy.exports.in_rollback():
style = style["rollback"]
elif renpy.game.context().seen_current(True):
style = style["seen"]

rv = dict(style=style)
rv.update(properties)

0 comments on commit 4addd74

Please sign in to comment.
You can’t perform that action at this time.