summaryrefslogtreecommitdiff
path: root/VP-roomwork.lua
diff options
context:
space:
mode:
Diffstat (limited to 'VP-roomwork.lua')
-rw-r--r--VP-roomwork.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua
index 4349ca4..b4724f4 100644
--- a/VP-roomwork.lua
+++ b/VP-roomwork.lua
@@ -223,7 +223,7 @@ function process_arcroom(fname, h, size, ext)
if handler and script and font then
if dump_mode and counter == 3 then
extract_room_script(fname .. string.format("/%04i", i), script, font)
- else
+ elseif dump_mode then
extract_simple_script(fname .. string.format("/%04i", i), script, font)
end
script:destroy()