[MIRROR] Change quirks_taken from nested tally to tally [MDB IGNORE] (#25831)

* Change quirks_taken from nested tally to tally (#80479)

Nested tally is overkill and requires that this be handled especially in
Superset. Version is not updated as the data for this is the exact same.

I recommend running this query after merge (CC @ MrStonedOne):

```sql
UPDATE feedback SET key_type = 'tally' WHERE key_name = 'quirks_taken'
```

* Change quirks_taken from nested tally to tally

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-12-25 00:20:38 +01:00
committed by GitHub
parent 9361376345
commit 4a51a0fb74
@@ -106,7 +106,7 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
var/datum/quirk/quirk_type = quirks[quirk_name]
if(ispath(quirk_type))
if(user.add_quirk(quirk_type, override_client = applied_client))
SSblackbox.record_feedback("nested tally", "quirks_taken", 1, list("[quirk_name]"))
SSblackbox.record_feedback("tally", "quirks_taken", 1, "[quirk_name]")
else
stack_trace("Invalid quirk \"[quirk_name]\" in client [applied_client.ckey] preferences")
applied_client.prefs.all_quirks -= quirk_name