Skip to content

Commit

Permalink
Updates a few things that could cause us problems
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Aug 22, 2024
1 parent 136dd77 commit 3e95c64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/__DEFINES/tgs.dm
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 2 additions & 0 deletions code/controllers/subsystem/dbcore.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// LINT_PATHNAME_IGNORE

SUBSYSTEM_DEF(dbcore)
name = "Database"
flags = SS_TICKER
Expand Down
2 changes: 1 addition & 1 deletion tools/SnakeCaseUpdate/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e95c64

Please sign in to comment.