From 3e95c6488a526cb37802e4ed5b11262d34da1c18 Mon Sep 17 00:00:00 2001 From: PowerfulBacon <26465327+PowerfulBacon@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:46:05 +0100 Subject: [PATCH] Updates a few things that could cause us problems --- code/__DEFINES/tgs.dm | 2 ++ code/controllers/subsystem/dbcore.dm | 2 ++ tools/SnakeCaseUpdate/Program.cs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/tgs.dm b/code/__DEFINES/tgs.dm index 4766b3dfe661e..38eb9e708950e 100644 --- a/code/__DEFINES/tgs.dm +++ b/code/__DEFINES/tgs.dm @@ -1,3 +1,5 @@ +// LINT_PATHNAME_IGNORE + // tgstation-server DMAPI // The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in IETF RFC 2119. diff --git a/code/controllers/subsystem/dbcore.dm b/code/controllers/subsystem/dbcore.dm index 556af64d4f899..7c2c301b3336a 100644 --- a/code/controllers/subsystem/dbcore.dm +++ b/code/controllers/subsystem/dbcore.dm @@ -1,3 +1,5 @@ +// LINT_PATHNAME_IGNORE + SUBSYSTEM_DEF(dbcore) name = "Database" flags = SS_TICKER diff --git a/tools/SnakeCaseUpdate/Program.cs b/tools/SnakeCaseUpdate/Program.cs index ca3ab91427ad3..c8e1c12e787c8 100644 --- a/tools/SnakeCaseUpdate/Program.cs +++ b/tools/SnakeCaseUpdate/Program.cs @@ -37,7 +37,7 @@ static void UpdateFile(string filePath, string oldName, string newName) var funcName = match.Groups[1].Value; // Fine... you get the right to live - if (funcName == "Initialize") + if (funcName == "Initialize" || funcName == "Destroy" || funcName == "Entered" || funcName == "Exited" || funcName == "Animate") continue; if (!string.IsNullOrEmpty(funcName) && funcName.Length >= minFunctionNameLength)