aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index 1192333..fe6e130 100644
--- a/files.lua
+++ b/files.lua
@@ -84,6 +84,13 @@ function updateFiles()
end
openFileWindow(7)
elseif files == f.videos then
+ if i == 1 and vplay.v ~= video.attacktortoise then
+ if vplay.v ~= 0 then
+ vplay.v:stop()
+ end
+ vplay.v = video.attacktortoise
+ vplay.p = true
+ end
openFileWindow(8)
elseif files == f.music then
if i == 1 and mplay.m ~= music.chill then