summaryrefslogtreecommitdiff
path: root/gamemode/utility.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-15 15:02:38 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-15 15:02:38 -0400
commit55bf96319e587bc199eb8dd126ec1ccc1b085ecc (patch)
tree4f91d82bedfa9d53c89a8a66ee08f0778f81c192 /gamemode/utility.lua
parent724a99a20a9c533eb038266f13c42fb47d075ea4 (diff)
downloadgmstranded-55bf96319e587bc199eb8dd126ec1ccc1b085ecc.tar.gz
gmstranded-55bf96319e587bc199eb8dd126ec1ccc1b085ecc.tar.bz2
gmstranded-55bf96319e587bc199eb8dd126ec1ccc1b085ecc.zip
More debugging
Diffstat (limited to 'gamemode/utility.lua')
-rw-r--r--gamemode/utility.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/utility.lua b/gamemode/utility.lua
index d11797b..be9ae0f 100644
--- a/gamemode/utility.lua
+++ b/gamemode/utility.lua
@@ -2,7 +2,7 @@
print("Utility.lua included!")
function findRecursive(folderstring,recursive,dofunction)
- local folderpath = "gamemodes/" .. GM.GAMEMODE_FOLDER_NAME .. "/gamemode/" .. folderstring .. "/"
+ local folderpath = "gamemodes/" .. GAMEMODE.GAMEMODE_FOLDER_NAME .. "/gamemode/" .. folderstring .. "/"
local files, directories = file.Find(folderpath .. "*", "MOD")
for k,v in pairs(files) do
dofunction(folderstring .. "/".. v)