Skip to content

Commit 66a3eb6

Browse files
committed
Disable potentially confusing Discord ping.
1 parent 4a3277b commit 66a3eb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Scripts/1.ahk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,8 +1080,9 @@ restartGameInstance(reason, RL := true){
10801080
if (menuDeleteStart()) {
10811081
IniWrite, 0, %A_ScriptDir%\%scriptName%.ini, UserSettings, DeadCheck
10821082
logMessage := "\n" . username . "\n[" . (starCount ? starCount : "0") . "/5][" . (packs ? packs : 0) . "P][" . openPack . "] " . (invalid ? invalid . " God Pack" : "Some sort of pack") . " found in instance: " . scriptName . "\nFile name: " . accountFile . "\nGot stuck doing something. Check Log_" . scriptName . ".txt."
1083-
LogToFile(StrReplace(logMessage, "\n", " "))
1084-
LogToDiscord(logMessage,, true)
1083+
LogToFile(Trim(StrReplace(logMessage, "\n", " ")))
1084+
; Logging to Discord is temporarily disabled until all of the scenarios which could cause the script to end up here are fully understood.
1085+
;LogToDiscord(logMessage,, true)
10851086
}
10861087
LogToFile("Restarted game for instance " . scriptName . ". Reason: " reason, "Restart.txt")
10871088

0 commit comments

Comments
 (0)