mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user