mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Merge pull request #35555 from MrStonedOne/patch-479
Fix sql error in exp updates
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user