This commit is contained in:
Empathic Qubit 2021-03-23 00:54:01 -04:00
parent 94167e6404
commit 566fc0a2d5
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
local _M = {}
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*/)(.*)", "%1")
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*[/\\])(.*)", "%1")
--[[
Change script dir to your script directory

View file

@ -1,4 +1,4 @@
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*/)(.*)", "%1")
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*[/\\])(.*)", "%1")
local util = dofile(base.."/util.lua")
local spritelist = dofile(base.."/spritelist.lua")

View file

@ -1,5 +1,5 @@
--Notes here
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*/)(.*)", "%1")
local base = string.gsub(@@LUA_SCRIPT_FILENAME@@, "(.*[/\\])(.*)", "%1")
local mathFunctions = dofile(base.."/mathFunctions.lua")
local config = dofile(base.."/config.lua")