remove test token from mod

This commit is contained in:
2023-04-25 16:08:10 +02:00
parent a5c4c941d4
commit d54583e224
+2 -2
View File
@@ -12,6 +12,7 @@ struct {
string servername string servername
string Tone_token string Tone_token
bool connected bool connected
//remove this in the future
array<Parameter> customParameters array<Parameter> customParameters
int matchId int matchId
@@ -23,7 +24,6 @@ void function killstat_Init() {
file.killstatVersion = GetConVarString("killstat_version") file.killstatVersion = GetConVarString("killstat_version")
file.Tone_URI = GetConVarString("Tone_URI") file.Tone_URI = GetConVarString("Tone_URI")
file.Tone_token = GetConVarString("Tone_token") file.Tone_token = GetConVarString("Tone_token")
file.Tone_token = "ZjlmZGM0YmEtZjI1Mi00MTNjLTg5MDEtNzI3NzZkNjE2YzRj"
file.connected = false file.connected = false
file.servername = GetConVarString("ns_server_name") file.servername = GetConVarString("ns_server_name")
//register to Tone API if default or invalid token //register to Tone API if default or invalid token
@@ -84,7 +84,7 @@ void function killstat_Record(entity victim, entity attacker, var damageInfo) {
return return
table values = {} table values = {}
//remove this in the future
foreach (Parameter p in file.customParameters) { foreach (Parameter p in file.customParameters) {
values[p] <- p.value values[p] <- p.value
} }