Skip to content

Commit ee41d38

Browse files
yes
1 parent c170b11 commit ee41d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ScuffedVideoPlayer/PlaybackCoroutines.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static IEnumerator<float> StandardPlaybackCoroutine(IDisplay display, Loa
7070

7171
yield return Timing.WaitForSeconds(delay);
7272
}
73-
display.Dispose();
73+
display.Clear();
7474

7575
if (audioNpc is { IsPlaying: true })
7676
yield return Timing.WaitUntilFalse(() => audioNpc.IsPlaying);
@@ -117,7 +117,7 @@ public static IEnumerator<float> PlayerPlaybackCoroutine(PlayerDisplay display,
117117
display.SetText(text);
118118
yield return Timing.WaitForSeconds(delay);
119119
}
120-
display.Dispose();
120+
display.Clear();
121121

122122
if (audioNpc is { IsPlaying: true })
123123
yield return Timing.WaitUntilFalse(() => audioNpc.IsPlaying);

0 commit comments

Comments
 (0)