diff --git a/code/defines/procs/dbcore.dm b/code/defines/procs/dbcore.dm index 1ef5de1baf7..debf76f4066 100644 --- a/code/defines/procs/dbcore.dm +++ b/code/defines/procs/dbcore.dm @@ -131,10 +131,9 @@ DBQuery/proc/Execute(var/list/argument_list = null, var/pass_not_found = 0, sql_ error("SQL Error: '[error]'") // This is hacky and should probably be changed if (error == "MySQL server has gone away") - log_and_message_admins("is attempting to reconnect the server to MySQL. (Connection Failure)") - dbcon.Reconnect() - if (db_connection.IsConnected()) - src.Execute(argument_list) + log_game("MySQL connection drop detected, attempting to reconnect.") + message_admins("MySQL connection drop detected, attempting to reconnect.") + db_connection.Reconnect() return result