Micro-optimization

This commit is contained in:
Jordan Brown
2020-10-19 21:25:57 -04:00
parent 97640665a2
commit bb72c51234
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<TgsConfigVersion>2.1.0</TgsConfigVersion>
<TgsApiVersion>7.4.0</TgsApiVersion>
<TgsClientVersion>8.4.0</TgsClientVersion>
<TgsDmapiVersion>5.2.6</TgsDmapiVersion>
<TgsDmapiVersion>5.2.7</TgsDmapiVersion>
<TgsControlPanelVersion>0.4.0</TgsControlPanelVersion>
<TgsHostWatchdogVersion>1.1.0</TgsHostWatchdogVersion>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
// tgstation-server DMAPI
#define TGS_DMAPI_VERSION "5.2.6"
#define TGS_DMAPI_VERSION "5.2.7"
// All functions and datums outside this document are subject to change with any version and should not be relied on.
+1 -1
View File
@@ -39,7 +39,7 @@
var/warned_custom_commands = FALSE
/datum/tgs_api/v3210/ApiVersion()
return new /datum/tgs_version("3.2.1.2")
return new /datum/tgs_version("3.2.1.3")
/datum/tgs_api/v3210/proc/trim_left(text)
for (var/i = 1 to length(text))
+1 -1
View File
@@ -45,7 +45,7 @@
// Discord hack, fix the mention if it's only numbers (fuck you IRC trolls)
var/regex/discord_id_regex = regex(@"^[0-9]+$")
if(discord_id_regex.Find(sender))
if(findtext(sender, discord_id_regex))
sender = "<@[sender]>"
user.mention = sender