summaryrefslogtreecommitdiff
path: root/VP-textwork.lua
diff options
context:
space:
mode:
Diffstat (limited to 'VP-textwork.lua')
-rw-r--r--VP-textwork.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/VP-textwork.lua b/VP-textwork.lua
index 6b8ca6b..acc196e 100644
--- a/VP-textwork.lua
+++ b/VP-textwork.lua
@@ -73,7 +73,13 @@ function dump_special(script, code)
local t, u
t = script:readU8()
u = script:readU8()
- return '<delay t="' .. t .. '" u="' .. u .. '">', ""
+ if u == 0 then
+ return '<delay0 t="' .. t .. '">', ""
+ elseif u == 1 then
+ return '<delay1 t="' .. t .. '">', ""
+ else
+ return '<delay t="' .. t .. '" u="' .. u .. '">', ""
+ end
elseif code == 18 then
return "<ssync/>", ""
elseif code == 19 then