mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Batch pr 2 (#12558)
* https://github.com/tgstation/tgstation/pull/65766 * Update ert.dm * https://github.com/tgstation/tgstation/pull/65771 * https://github.com/tgstation/tgstation/pull/65868 * Update space_station_13_areas.dm * https://github.com/tgstation/tgstation/pull/65894 * https://github.com/tgstation/tgstation/pull/65903 * https://github.com/tgstation/tgstation/pull/65908 * https://github.com/tgstation/tgstation/pull/65914 * https://github.com/tgstation/tgstation/pull/65926 * https://github.com/tgstation/tgstation/pull/65930 * https://github.com/tgstation/tgstation/pull/65915 * maps * icons
This commit is contained in:
@@ -448,8 +448,8 @@
|
||||
return
|
||||
var/rounded_message_id = round(href_list["message_id"], 1)
|
||||
var/datum/db_query/query_message_read = SSdbcore.NewQuery(
|
||||
"UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE usr.key = :player_key AND id = :id",
|
||||
list("id" = rounded_message_id)
|
||||
"UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE targetckey = :player_key AND id = :id",
|
||||
list("id" = rounded_message_id, "player_key" = usr.ckey)
|
||||
)
|
||||
if(!query_message_read.warn_execute())
|
||||
qdel(query_message_read)
|
||||
|
||||
Reference in New Issue
Block a user