From c9aa8d140d4be7f20515c50af32525246469f3f2 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sun, 11 Feb 2018 12:14:09 -0800 Subject: [PATCH] Fix sql error --- code/modules/jobs/job_exp.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/jobs/job_exp.dm b/code/modules/jobs/job_exp.dm index b1457b1abbc..d9369091e8f 100644 --- a/code/modules/jobs/job_exp.dm +++ b/code/modules/jobs/job_exp.dm @@ -143,7 +143,7 @@ GLOBAL_PROTECT(exp_to_update) L.update_exp_list(mins,ann) /datum/controller/subsystem/blackbox/proc/update_exp_db() - SSdbcore.MassInsert(format_table_name("role_time"), GLOB.exp_to_update, "ON DUPLICATE KEY UPDATE minutes += VALUES(minutes)") + SSdbcore.MassInsert(format_table_name("role_time"), GLOB.exp_to_update, "ON DUPLICATE KEY UPDATE minutes = minutes + VALUES(minutes)") LAZYCLEARLIST(GLOB.exp_to_update) //resets a client's exp to what was in the db.