From b596236693e7ca44f5c44cb570a1e6239d93d5be Mon Sep 17 00:00:00 2001 From: Conna Wiles Date: Thu, 2 Jan 2020 20:19:56 +0000 Subject: [PATCH] Update sh_boot.lua --- .../gamemodes/clockwork/framework/sh_boot.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/upload/garrysmod/gamemodes/clockwork/framework/sh_boot.lua b/upload/garrysmod/gamemodes/clockwork/framework/sh_boot.lua index 2fab790e..f00a88d7 100644 --- a/upload/garrysmod/gamemodes/clockwork/framework/sh_boot.lua +++ b/upload/garrysmod/gamemodes/clockwork/framework/sh_boot.lua @@ -90,6 +90,16 @@ Clockwork.kernel:IncludePrefixed("libraries/server/sv_file.lua"); if (SERVER) then CloudAuthX.Authenticate(); end; +--[[ + Do not edit this function. Editing this function will cause + the schema to not function, and CloudAuthX will not + auth you. +--]] +function Clockwork:GetGameDescription() + local schemaName = self.kernel:GetSchemaGamemodeName(); + return "Clockwork: "..schemaName; +end; + Clockwork.kernel:IncludeDirectory("libraries/server", true); Clockwork.kernel:IncludeDirectory("libraries/client", true); Clockwork.kernel:IncludeDirectory("libraries/", true);