aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-07-21 22:52:40 -0700
committer1029chris <1029chris@gmail.com>2016-07-21 22:52:40 -0700
commit260c99a47be458cffcefd2cf9170447b2a45739f (patch)
tree345c33f5539f16f1bb26a8169e5d712a39a1141d /files.lua
parent6201455b32dee57659bc8bb0f0fc4aff6f34c081 (diff)
Added added 2 documents
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index fd5542e..cc23b26 100644
--- a/files.lua
+++ b/files.lua
@@ -86,6 +86,15 @@ function updateFiles()
win[7].update = true
end
openFileWindow(7)
+ elseif files == f.documents then
+ if i == 1 and doc.doc ~= doc.help then
+ doc.doc = doc.help
+ win[10].update = true
+ elseif i == 2 and doc.doc ~= doc.credits then
+ doc.doc = doc.credits
+ win[10].update = true
+ end
+ openFileWindow(10)
elseif files == f.videos then
if i == 1 and vplay.v ~= video.attacktortoise then
if vplay.v ~= 0 then