summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-15 15:28:57 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-15 15:28:57 -0400
commit0aaea91ed95623230e553c3e5bf354d27a55f945 (patch)
tree377e97ad97b00409213a1409fd33d33734e69c36
parent55bf96319e587bc199eb8dd126ec1ccc1b085ecc (diff)
downloadgmstranded-0aaea91ed95623230e553c3e5bf354d27a55f945.tar.gz
gmstranded-0aaea91ed95623230e553c3e5bf354d27a55f945.tar.bz2
gmstranded-0aaea91ed95623230e553c3e5bf354d27a55f945.zip
Fixed spelling error in utility.lua
-rw-r--r--gamemode/configure_me.lua6
-rw-r--r--gamemode/shared.lua3
-rw-r--r--gamemode/utility.lua2
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)