fix pause on supertext
This commit is contained in:
@@ -43,7 +43,9 @@
|
|||||||
|
|
||||||
(let [cc ->:Void {(director.hideDialog) (cc)}]
|
(let [cc ->:Void {(director.hideDialog) (cc)}]
|
||||||
(director.showDialog actorName dialogType wryly text cc)
|
(director.showDialog actorName dialogType wryly text cc)
|
||||||
(when (< 0 (count voiceTracks))
|
// When an actorName is given, check for a voiced line to play.
|
||||||
|
// Otherwise, assume it is un-voiced super text
|
||||||
|
(when (and actorName (< 0 (count voiceTracks)))
|
||||||
(case (try (dictGet voiceLines "$actorName $text") (catch [e] (print e) null))
|
(case (try (dictGet voiceLines "$actorName $text") (catch [e] (print e) null))
|
||||||
((objectWith trackKey start end)
|
((objectWith trackKey start end)
|
||||||
(director.playVoiceTrack (dictGet voiceTracks trackKey) 1 start end cc))
|
(director.playVoiceTrack (dictGet voiceTracks trackKey) 1 start end cc))
|
||||||
|
Reference in New Issue
Block a user