From 3250d016ab6c4f0ae4456aae3ca8542b33fd6fad Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 9 Jan 2019 11:56:26 -0500 Subject: [PATCH 1/2] Minor grammar improvement in DMAPI --- src/DMAPI/tgs.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DMAPI/tgs.dm b/src/DMAPI/tgs.dm index 37dc08d241..bf950b3f12 100644 --- a/src/DMAPI/tgs.dm +++ b/src/DMAPI/tgs.dm @@ -17,7 +17,6 @@ //Required interfaces (fill in with your codebase equivalent): //create a global variable named `Name` and set it to `Value` -//These globals must not be modifiable from anywhere outside of the server tools #define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) //Read the value in the global variable `Name` @@ -26,10 +25,10 @@ //Set the value in the global variable `Name` to `Value` #define TGS_WRITE_GLOBAL(Name, Value) -//Disallow ANYONE from reflecting a given `path`, security measure to prevent in-game priveledge escalation +//Disallow ANYONE from reflecting a given `path`, security measure to prevent in-game use of DD -> TGS capabilities #define TGS_PROTECT_DATUM(Path) -//display an announcement `message` from the server to all players +//Display an announcement `message` from the server to all players #define TGS_WORLD_ANNOUNCE(message) //Notify current in-game administrators of a string `event` From 03029281226fdfa0cc221ffac228f52f3c4abb75 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 9 Jan 2019 13:37:53 -0500 Subject: [PATCH 2/2] Document TgsInstanceName --- src/DMAPI/tgs.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DMAPI/tgs.dm b/src/DMAPI/tgs.dm index bf950b3f12..5d89b42483 100644 --- a/src/DMAPI/tgs.dm +++ b/src/DMAPI/tgs.dm @@ -186,6 +186,7 @@ /world/proc/TgsVersion() return +//Gets the name of the TGS instance running the game /world/proc/TgsInstanceName() return