[MIRROR] Fixes issue where role banned players can still play roles they're banned from. [MDB IGNORE] (#23399)

* Fixes issue where role banned players can still play roles they're banned from.

* Update sql_ban_system.dm

* Some formatting updates

---------

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-31 06:10:42 +02:00
committed by GitHub
parent 4c0a06439d
commit f8b2329771
4 changed files with 97 additions and 52 deletions
+3
View File
@@ -3,6 +3,7 @@
/datum/unit_test/emoting/Run()
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human/consistent)
human.key = "EmoteTestKey"
RegisterSignal(human, COMSIG_MOB_EMOTE, PROC_REF(on_emote_used))
human.say("*shrug")
@@ -29,6 +30,8 @@
*/
//SKYRAT EDIT REMOVAL END
human.key = null
/datum/unit_test/emoting/proc/on_emote_used()
SIGNAL_HANDLER
emotes_used += 1