[MIRROR] Deadmin topic spam fix and fixes trailing MC panel after having deadmined [MDB IGNORE] (#15491)

* Deadmin topic spam fix and fixes trailing MC panel after having deadmined (#68983)

* Removes redundant init_verb() call

* Fixes the MC tab not going away when you deadmin + runs Prettier on statbrowser.js

* Revert "Fixes the MC tab not going away when you deadmin + runs Prettier on statbrowser.js"

This reverts commit 2676d5f897cdc956b062f5d4785a7ebf2e1df8a9.

* Now prettier will only work inside of the tgui folder

* Actually makes the change for the MC tab sticking around forever

* Deadmin topic spam fix and fixes trailing MC panel after having deadmined

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-08-08 23:03:48 -07:00
committed by GitHub
co-authored by GoldenAlpharex
parent 3580db6741
commit 7bcdd4840b
3 changed files with 6 additions and 2 deletions
-1
View File
@@ -164,7 +164,6 @@ GLOBAL_PROTECT(href_token)
if(owner)
GLOB.admins -= owner
owner.remove_admin_verbs()
owner.init_verbs()
owner.holder = null
owner = null