aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/garret.shenanigans.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/garret.shenanigans.lua b/macros/garret.shenanigans.lua
index 0f8ff3c..bce22fc 100644
--- a/macros/garret.shenanigans.lua
+++ b/macros/garret.shenanigans.lua
@@ -1,7 +1,7 @@
script_name = "Import Shenanigans"
script_description = "imports shenanigans"
script_author = "garret"
-script_version = "0.1.0"
+script_version = "0.1.1"
script_namespace = "garret.shenanigans"
local SHENAN_PATTERN = "shenan ([^;]*)"
@@ -52,7 +52,9 @@ local function main(sub)
aegisub.log(5, i..": has effect: "..line.effect)
local name = line.effect:match(SHENAN_PATTERN)
local shenans = imports[name]
- if shenans ~= "done" then
+ if shenans == nil then
+
+ elseif shenans ~= "done" then
for idx, val in ipairs(shenans) do
sub.insert(i + idx, val)
end