From 0aaea91ed95623230e553c3e5bf354d27a55f945 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 15 May 2016 15:28:57 -0400 Subject: Fixed spelling error in utility.lua --- gamemode/configure_me.lua | 6 ++++-- gamemode/shared.lua | 3 --- gamemode/utility.lua | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gamemode/configure_me.lua b/gamemode/configure_me.lua index 6cd8b24..cdd5346 100644 --- a/gamemode/configure_me.lua +++ b/gamemode/configure_me.lua @@ -11,7 +11,7 @@ GM.GAMEMODE_FOLDER_NAME = "gmstranded" -if (GMS == nil) then GMS = {} end +GMS = GMS or {} //If you're experienceing network latency, lowering this might help. If too low, might cause graphical errors on the client when displaying resources //max:32 @@ -51,6 +51,8 @@ GMS.LootableNPCs = { GMS.Developers = { "STEAM_0:0:0" //the single-player steamid } + +//The tools that players are allowed to use GMS.AllowedStools = { "percision", "axis", @@ -59,7 +61,7 @@ GMS.AllowedStools = { "precision_align", "gms_rope", "weld", - "Winch", + "winch", "lamp", "light", "nocollide", diff --git a/gamemode/shared.lua b/gamemode/shared.lua index 8552143..e1039ab 100644 --- a/gamemode/shared.lua +++ b/gamemode/shared.lua @@ -13,9 +13,6 @@ team.SetUp( 4, "The Gummies", Color( 255, 23, 0, 255 ) ) team.SetUp( 5, "The Dynamics", Color( 0, 72, 255, 255 ) ) team.SetUp( 6, "Scavengers", Color( 8, 255, 0, 255 ) ) -GMS = GMS or {} -GM.GAMEMODE_FOLDER_NAME = "gmstranded" - include( "configure_me.lua" ) include( "spp/sh_spp.lua" ) diff --git a/gamemode/utility.lua b/gamemode/utility.lua index be9ae0f..d11797b 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/" .. GAMEMODE.GAMEMODE_FOLDER_NAME .. "/gamemode/" .. folderstring .. "/" + local folderpath = "gamemodes/" .. GM.GAMEMODE_FOLDER_NAME .. "/gamemode/" .. folderstring .. "/" local files, directories = file.Find(folderpath .. "*", "MOD") for k,v in pairs(files) do dofunction(folderstring .. "/".. v) -- cgit v1.2.3-70-g09d2