From 2496e514548f9027608496c2b1635a82d96d126a Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Fri, 16 Apr 2021 18:52:21 +0300 Subject: [PATCH] replace dofile with require --- main.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.lua b/main.lua index b45f47b..4603636 100644 --- a/main.lua +++ b/main.lua @@ -1,2 +1 @@ -local utils = require('mp.utils') -dofile(utils.join_path(mp.get_script_directory(), 'videoclip.lua')) +require('videoclip')